Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kibana - Discover - Error fetching fields #53878

Closed
Kavin-Muthusamy opened this issue Jan 1, 2020 · 25 comments · Fixed by #55836
Closed

Kibana - Discover - Error fetching fields #53878

Kavin-Muthusamy opened this issue Jan 1, 2020 · 25 comments · Fixed by #55836
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Discover Discover Application Team:Operations Team label for Operations Team Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@Kavin-Muthusamy
Copy link

Unable to lauch discover in Kibana v7.5.1
OS : Windows 10
Browsers : Firefox , Microsoft Edge

IMAGE$5BF7249706C4839E
IMAGE$5485C8708F4826C1

@Kavin-Muthusamy
Copy link
Author

@thomasneirynck thomasneirynck added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Jan 2, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@srangviji
Copy link

I followed the below steps and it resolved the issue.

Step1:
Checked for the list of indices that were defined using the command

GET /_cat/indices/.kibana*

$71FF69C5D1669EC7

Step 2:
Deleted the indices kibana_1 and kibana_2 by using the command

DELETE /.kibana_1
DELETE /.kibana_2

Step 3:
Uninstalled the Kibana package

Step 4:
Extracted the Kibana package using 7-zip and installed again.

@bhavyarm
Copy link
Contributor

bhavyarm commented Jan 7, 2020

Not a valid issue

@bhavyarm bhavyarm closed this as completed Jan 7, 2020
@jianzh5
Copy link

jianzh5 commented Jan 8, 2020

@MarcusCaepio
Copy link

Please Re-Open, this is a valid issue!
I am having this problem, too.

@jianzh5
Copy link

jianzh5 commented Jan 8, 2020

Error: Not Found
at http://172.31.0.207:5601/bundles/commons.bundle.js:3:1371494

i have resolved it

  1. delete the index of .kibana_1
  2. reopen kibana

@davidgfolch
Copy link

Same here.

I had to delete all indices & restart kibana service:

GET /_cat/indices/.kibana*
DELETE /.kibana_1
DELETE /.kibana_task_manager_1

DELETE /.kibana_2
DELETE /.kibana_task_manager_2

@kertal kertal reopened this Jan 17, 2020
@kertal kertal self-assigned this Jan 17, 2020
@kertal kertal added the Feature:Discover Discover Application label Jan 17, 2020
@kertal
Copy link
Member

kertal commented Jan 17, 2020

dear @Kavin-Muthusamy @srangviji @jianzh5 @MarcusCaepio @davidgfolch
thx a lot for reporting this, so far we couldn't reproduce it. Could you add some details about the case?

  • which OS is running Kibana?
  • which version of Kibana?
  • did you upgrade and if yes from which version did you upgrade?

many thanks

@mimugmail
Copy link

I just discovered this too. I did a fresh install on Debian 10 of 7.5.0 and upgraded to 7.5.1.
Currently the system is still in evaluation so I can test whatever is needed.

Before I delete the indices mentioned above I'll wait for other instructions if needed :)

@kertal
Copy link
Member

kertal commented Jan 17, 2020

@mimugmail can you take a look into the Kibana Logs (/var/log/kibana it should be debian), if there are error messages? many thx!

@mimugmail
Copy link

@kertal only /var/log/elasticsearch and /var/log/logstash are there.
I installed the packages from https://artifacts.elastic.co/packages/7.x/apt

I added logging.dest: /var/log/kibana.log to the yml and restarted the service.

@mimugmail
Copy link

Error: Not Found
    at http://10.24.80.42:5601/bundles/commons.bundle.js:3:1371494

kibana.log:

{"type":"response","@timestamp":"2020-01-17T15:26:06Z","tags":[],"pid":2696,"method":"get","statusCode":200,"req":{"url":"/api/saved_objects/_find?per_page=10000&type=index-pattern&page=1&default_search_operator=OR","method":"get","headers":{"host":"10.24.80.42:5601","connection":"keep-alive","kbn-version":"7.5.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36","content-type":"application/json","accept":"*/*","referer":"http://10.24.80.42:5601/app/kibana","accept-encoding":"gzip, deflate","accept-language":"de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7,fr;q=0.6"},"remoteAddress":"1.2.3.4","userAgent":"1.2.3.4","referer":"http://10.24.80.42:5601/app/kibana"},"res":{"statusCode":200,"responseTime":8,"contentLength":9},"message":"GET /api/saved_objects/_find?per_page=10000&type=index-pattern&page=1&default_search_operator=OR 200 8ms - 9.0B"}
{"type":"response","@timestamp":"2020-01-17T15:26:06Z","tags":[],"pid":2696,"method":"post","statusCode":200,"req":{"url":"/api/saved_objects/_bulk_get","method":"post","headers":{"host":"10.24.80.42:5601","connection":"keep-alive","content-length":"39","origin":"http://10.24.80.42:5601","kbn-version":"7.5.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36","content-type":"application/json","accept":"*/*","referer":"http://10.24.80.42:5601/app/kibana","accept-encoding":"gzip, deflate","accept-language":"de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7,fr;q=0.6"},"remoteAddress":"1.2.3.4","userAgent":"1.2.3.4","referer":"http://10.24.80.42:5601/app/kibana"},"res":{"statusCode":200,"responseTime":8,"contentLength":9},"message":"POST /api/saved_objects/_bulk_get 200 8ms - 9.0B"}
{"type":"response","@timestamp":"2020-01-17T15:26:06Z","tags":[],"pid":2696,"method":"get","statusCode":404,"req":{"url":"/api/index_patterns/_fields_for_wildcard?pattern=apm-*&meta_fields=_source&meta_fields=_id&meta_fields=_type&meta_fields=_index&meta_fields=_score","method":"get","headers":{"host":"10.24.80.42:5601","connection":"keep-alive","kbn-version":"7.5.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36","content-type":"application/json","accept":"*/*","referer":"http://10.24.80.42:5601/app/kibana","accept-encoding":"gzip, deflate","accept-language":"de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7,fr;q=0.6"},"remoteAddress":"1.2.3.4","userAgent":"1.2.3.4","referer":"http://10.24.80.42:5601/app/kibana"},"res":{"statusCode":404,"responseTime":27,"contentLength":9},"message":"GET /api/index_patterns/_fields_for_wildcard?pattern=apm-*&meta_fields=_source&meta_fields=_id&meta_fields=_type&meta_fields=_index&meta_fields=_score 404 27ms - 9.0B"}
{"type":"response","@timestamp":"2020-01-17T15:26:06Z","tags":[],"pid":2696,"method":"get","statusCode":304,"req":{"url":"/built_assets/dlls/icon.alert-js.bundle.dll.js","method":"get","headers":{"host":"10.24.80.42:5601","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36","accept":"*/*","referer":"http://10.24.80.42:5601/app/kibana","accept-encoding":"gzip, deflate","accept-language":"de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7,fr;q=0.6","if-none-match":"\"3c85d779726f50034ba278dfa08350f2cf00f457-/built_assets/dlls/-gzip\""},"remoteAddress":"1.2.3.4","userAgent":"1.2.3.4","referer":"http://10.24.80.42:5601/app/kibana"},"res":{"statusCode":304,"responseTime":2,"contentLength":9},"message":"GET /built_assets/dlls/icon.alert-js.bundle.dll.js 304 2ms - 9.0B"}
{"type":"response","@timestamp":"2020-01-17T15:26:06Z","tags":[],"pid":2696,"method":"get","statusCode":304,"req":{"url":"/built_assets/dlls/icon.cross-js.bundle.dll.js","method":"get","headers":{"host":"10.24.80.42:5601","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36","accept":"*/*","referer":"http://10.24.80.42:5601/app/kibana","accept-encoding":"gzip, deflate","accept-language":"de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7,fr;q=0.6","if-none-match":"\"8542c5a8ea78075719686c6cfdb91a49561943b0-/built_assets/dlls/-gzip\""},"remoteAddress":"1.2.3.4","userAgent":"1.2.3.4","referer":"http://10.24.80.42:5601/app/kibana"},"res":{"statusCode":304,"responseTime":2,"contentLength":9},"message":"GET /built_assets/dlls/icon.cross-js.bundle.dll.js 304 2ms - 9.0B"}
{"type":"response","@timestamp":"2020-01-17T15:26:09Z","tags":[],"pid":2696,"method":"get","statusCode":304,"req":{"url":"/built_assets/dlls/icon.copy-js.bundle.dll.js","method":"get","headers":{"host":"10.24.80.42:5601","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36","accept":"*/*","referer":"http://10.24.80.42:5601/app/kibana","accept-encoding":"gzip, deflate","accept-language":"de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7,fr;q=0.6","if-none-match":"\"7eca865cbb002f09cf9047c2ad150d296c33721e-/built_assets/dlls/-gzip\""},"remoteAddress":"1.2.3.4","userAgent":"1.2.3.4","referer":"http://10.24.80.42:5601/app/kibana"},"res":{"statusCode":304,"responseTime":2,"contentLength":9},"message":"GET /built_assets/dlls/icon.copy-js.bundle.dll.js 304 2ms - 9.0B"}
{"type":"response","@timestamp":"2020-01-17T15:26:09Z","tags":[],"pid":2696,"method":"get","statusCode":304,"req":{"url":"/ui/fonts/roboto_mono/RobotoMono-Regular.ttf","method":"get","headers":{"host":"10.24.80.42:5601","connection":"keep-alive","origin":"http://10.24.80.42:5601","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36","accept":"*/*","referer":"http://10.24.80.42:5601/app/kibana","accept-encoding":"gzip, deflate","accept-language":"de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7,fr;q=0.6","if-none-match":"\"69a65c2b797d2fa124b4c709097e761b7857a035\"","if-modified-since":"Mon, 16 Dec 2019 23:46:33 GMT"},"remoteAddress":"1.2.3.4","userAgent":"1.2.3.4","referer":"http://10.24.80.42:5601/app/kibana"},"res":{"statusCode":304,"responseTime":1,"contentLength":9},"message":"GET /ui/fonts/roboto_mono/RobotoMono-Regular.ttf 304 1ms - 9.0B"}

@kertal
Copy link
Member

kertal commented Jan 17, 2020

@mimugmail thx a lot, so that request causing the Error:

{"type":"response","@timestamp":"2020-01-17T15:26:06Z","tags":[],"pid":2696,"method":"get","statusCode":404,"req":{"url":"/api/index_patterns/_fields_for_wildcard?pattern=apm-*&meta_fields=_source&meta_fields=_id&meta_fields=_type&meta_fields=_index&meta_fields=_score","method":"get","headers":{"host":"10.24.80.42:5601","connection":"keep-alive","kbn-version":"7.5.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36","content-type":"application/json","accept":"*/*","referer":"http://10.24.80.42:5601/app/kibana","accept-encoding":"gzip, deflate","accept-language":"de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7,fr;q=0.6"},"remoteAddress":"1.2.3.4","userAgent":"1.2.3.4","referer":"http://10.24.80.42:5601/app/kibana"},"res":{"statusCode":404,"responseTime":27,"contentLength":9},"message":"GET /api/index_patterns/_fields_for_wildcard?pattern=apm-*&meta_fields=_source&meta_fields=_id&meta_fields=_type&meta_fields=_index&meta_fields=_score 404 27ms - 9.0B"}
Could you provide some more details about your installation, would be very helpful to find the origin of the problem.

So you've upgraded a fresh 7.5.0 on Debian 10 to 7.5.1, and after the upgrade the problem started?
Which license of Kibana are you using OSS, basic, ...
Did you add Data, Visualizations, use APM?

Appreciate your feedback (Dear @elastic/kibana-operations , this might be a case for you)

@kertal kertal added Team:Operations Team label for Operations Team bug Fixes for quality problems that affect the customer experience and removed Project:Accessibility labels Jan 17, 2020
@jianzh5
Copy link

jianzh5 commented Jan 18, 2020

dear @Kavin-Muthusamy @srangviji @jianzh5 @MarcusCaepio @davidgfolch
thx a lot for reporting this, so far we couldn't reproduce it. Could you add some details about the case?

  • which OS is running Kibana?
  • which version of Kibana?
  • did you upgrade and if yes from which version did you upgrade?

many thanks

hi, @kertal

OS:

Distributor ID:	CentOS
Description:	CentOS Linux release 7.7.1908 (Core)
Release:	7.7.1908
Codename:	Core

Kibana Version : 7.5.1

on the index panel, load the sample data and then delete zhe dashboard,Repeated several times ,you can reproduce it !

image

@mimugmail
Copy link

@kertal I remember I installed 7.5.0 and experienced this error, after 7.5.1 it was gone and I loaded some sample data and visualisations. After this it was there again. I'm trying to reproduce.

@mimugmail
Copy link

Deleting .kibana_1 index and restarting service fixed it. Tried flush index or clear index cache but only deleting helped.

@rainbowjose
Copy link

Same error

@rainbowjose
Copy link

FIX:
Set OTHER default index pattern in Settings > Kibana > Index patterns.

@kertal
Copy link
Member

kertal commented Jan 24, 2020

I think we have reproduced it: #54982 ... which is always fine to fix it 🎉

@bhavyarm
Copy link
Contributor

Great job @kertal

@kertal
Copy link
Member

kertal commented Jan 24, 2020

well, to be precise:
the we
isn't me
it's lee (@LeeDr ) :)

Here's a fix in the works: #55836

@kertal
Copy link
Member

kertal commented Jan 31, 2020

thx everbody for reporting this, it's fixed in 7.6 in case you're running into this problem @rainbowjose provided the right quickfix:

Set OTHER default index pattern in Settings > Kibana > Index patterns.

@rainbowjose
Copy link

rainbowjose commented Feb 3, 2020 via email

@bhavyarm
Copy link
Contributor

bhavyarm commented Feb 3, 2020

@rainbowjose the issue is already closed. Please don't use offensive language. Refer to our community guidelines: https://www.elastic.co/community/codeofconduct Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Discover Discover Application Team:Operations Team label for Operations Team Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.