Discover page error in kibana

Hi All,

My kibana was working fine earlier and all of a sudden it started displaying internal error in the discover page and i'm not able to view any data in discover page,

SearchError: Internal Server Error
    at http://server1:5601/bundles/commons.bundle.js:5:1844068
    at processQueue (http://server1:5601/built_assets/dlls/vendors.bundle.dll.js:417:203810)
    at http://server1:5601/built_assets/dlls/vendors.bundle.dll.js:417:204773
    at Scope.$digest (http://server1:5601/built_assets/dlls/vendors.bundle.dll.js:417:214757)
    at Scope.$apply (http://server1:5601/built_assets/dlls/vendors.bundle.dll.js:417:217761)
    at done (http://server1:5601/built_assets/dlls/vendors.bundle.dll.js:417:136089)
    at completeRequest (http://server1:5601/built_assets/dlls/vendors.bundle.dll.js:417:139882)
    at XMLHttpRequest.requestLoaded (http://server1:5601/built_assets/dlls/vendors.bundle.dll.js:417:138624)

I remember this issue had come after i had changed the timezone of the kibana server, then i reverted back the changes also, but still no luck.

Any suggestions please

Thanks
Gautham

Does the user have permission to read the index?

More information can be obtain via below tutorial.

@kavierkoo i haven't enabled xpack, so user permission is ruled out. The mentioned tutorial mainly talks about the large index with huge memory usage.

Mine is collecting data from database and only 2 index which hardly have 2k documents.

Thanks
Gautham

I see, thanks for the info.
Is there any useful information in the logs?

@kavierkoo I dont see any issue in log files(elasticsearch logs) as well, elasticsearch is getting updated porperly, using dev tools i'm able to see all the data getting updated, even in dashboards which has been created is getting updated with all the data.

Only the discover tab alone is not accessible, showing internal error, i dont see any kibana logs written, is there any way to capture the kibana logs in some files.

Thanks
Gautham

kibana.yml

logging.dest: Enables you to specify a file where Kibana stores log output. Default: stdout

1 Like

When you open Discover and the error is displayed, could you have a look in your Browsers DevTools? There might be more errors to find and more details to solve it. Which version of Kibana are you using?

Thx & Best,
Matthias

@matw Below is the error from dev tools and we are using version 7.4

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-SbBSMfZFnVfehtjeE/jbBz7pPI3463YDrdHl7Cc='), or a nonce ('nonce-...') is required to enable inline execution.

bootstrap.js:9 ^ A single error about an inline script not firing due to content security policy is expected!
vendors.bundle.dll.js:530 INFO: 2020-10-21T11:51:17Z
  Adding connection to http://server1:5601/elasticsearch


vendors.bundle.dll.js:417 POST http://server1:5601/elasticsearch/_msearch?rest_total_hits_as_int=true&ignore_throttled=true 500 (Internal Server Error)
vendors.bundle.dll.js:417 SearchError: Internal Server Error
    at http://server1:5601/bundles/commons.bundle.js:5:1844068
    at processQueue (http://server1:5601/built_assets/dlls/vendors.bundle.dll.js:417:203810)
    at http://server1:5601/built_assets/dlls/vendors.bundle.dll.js:417:204773
    at Scope.$digest (http://server1:5601/built_assets/dlls/vendors.bundle.dll.js:417:214757)
    at Scope.$apply (http://server1:5601/built_assets/dlls/vendors.bundle.dll.js:417:217761)
    at done (http://server1:5601/built_assets/dlls/vendors.bundle.dll.js:417:136089)
    at completeRequest (http://server1:5601/built_assets/dlls/vendors.bundle.dll.js:417:139882)
    at XMLHttpRequest.requestLoaded (http://server1:5601/built_assets/dlls/vendors.bundle.dll.js:417:138624) "Possibly unhandled rejection: {"name":"SearchError","status":500,"title":"InternalServerError","path":"/_msearch"}"
android-chrome-192x192.png:1 GET http://server1:5601/android-chrome-192x192.png 404 (Not Found)
kibana#/discover?_g=()&_a=(columns:!(_source),index:chat-agentv1,interval:auto,query:(language:kuery,query:''),sort:!(!(login_time,desc))):1 Error while trying to use the following icon from the Manifest: http://server1:5601/android-chrome-192x192.png (Download error or resource isn't a valid image)

Thanks
Gautham

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.