Kibana: Kibana - Discover - Error fetching fields

Created on 1 Jan 2020  ·  25Comments  ·  Source: elastic/kibana

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

IMAGE$5BF7249706C4839E
IMAGE$5485C8708F4826C1

Discover KibanaApp Operations bug

Most helpful comment

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

All 25 comments

Error: Not Found at Anonymous function (http://localhost:5601/bundles/commons.bundle.js:3:1371488) at Anonymous function (http://localhost:5601/built_assets/dlls/vendors.bundle.dll.js:314:123083) at flush (http://localhost:5601/built_assets/dlls/vendors.bundle.dll.js:109:959184)

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

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.

Not a valid issue

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

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

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

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

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

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 :)

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

@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.

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"}

@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)

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

@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.

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

Same error

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

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

Great job @kertal

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

Here's a fix in the works: #55836

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.

Oh fuck can you please close this

пт, 31 янв. 2020 г., 22:46 Matthias Wilhelm notifications@github.com:

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

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


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/elastic/kibana/issues/53878?email_source=notifications&email_token=ABUA5YVRXKS3KQWK7AGOWGDRAR5X5A5CNFSM4KB243T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKPZCOA#issuecomment-580882744,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABUA5YWQCSHGA5X47EBKR4LRAR5X5ANCNFSM4KB243TQ
.

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

Was this page helpful?
0 / 5 - 0 ratings