Getting a 403 error when performing a get operation


(Patrick) #1

Hi, we're evaluating ElasticSearch and Kibana. I have recently downloaded elasticsearch-5.0.0-alpha5 and kibana-5.0.0-alpha5-windows-86.

When performing a get operation authenticating with the default username\pwd, I get the following error

{"error":{"root_cause":[{"type":"security_exception","reason":"action [indices:admin/get] is unauthorized for user [kibana]"}],"type":"security_exception","reason":"action [indices:admin/get] is unauthorized for user [kibana]"},"status":403}

I can also login to Kibana using the default username\pwd, however, this login does not have permissions to manage users\roles.

Could someone offer some advice or direct me towards some documentation which would explain why this is happening?


403 Error when using out-of-the-box ElasticSearch 5.0.0-alpha5
403 Exception when trying to write to ElasticSearch using ElasticsearchSink
(Daniel Mitterdorfer) #2

Hi @thinkabout,

the "kibana" user does not have these privileges by intention. However, there is a second user "elastic" which you can use for this purpose.

See also X-Pack Security: Getting Started in the docs.

Daniel


(system) #3