Kibana security_exception Error

Getting this error on Kibana 8.5.2

[ERROR][http] ResponseError: security_exception: [security_exception] Reason: action [indices:admin/resolve/index] is unauthorized for user [temporarykibanasuperuser] with effective roles [grant_kibana_system_indices,superuser], this action is granted by the index privileges [view_index_metadata,manage,read,all]
    at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:476:27)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at KibanaTransport.request (/usr/share/kibana/node_modules/@kbn/core-elasticsearch-client-server-internal/target_node/src/create_transport.js:58:16)
    at Indices.resolveIndex (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/api/api/indices.js:1035:16)
    at /usr/share/kibana/src/plugins/data_view_management/server/routes/resolve_index.js:30:18
    at Router.handle (/usr/share/kibana/node_modules/@kbn/core-http-router-server-internal/target_node/src/router.js:163:30)
    at handler (/usr/share/kibana/node_modules/@kbn/core-http-router-server-internal/target_node/src/router.js:124:50)
    at exports.Manager.execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
    at Object.internals.handler (/usr/share/kibana/node_modules/@hapi/hapi/lib/handler.js:46:20)
    at exports.execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/handler.js:31:20)
    at Request._lifecycle (/usr/share/kibana/node_modules/@hapi/hapi/lib/request.js:371:32)
    at Request._execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/request.js:281:9)

Welcome to our community! :smiley:

What are you doing when you get this?

Logged in using the Elastic user, and after that getting this error at regular intervals.

The elastic user is not intended to be logged in with, you should really create your own.

It is just for a 1-time setup. After that creating a different user. But still getting this error frequently.

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