Hi. I use Search Guard 5 with Elasticsearch and Kibana and I have a problem with curl commands.
I have a system user “es_user” which is elasticsearch admin. I want to run curl commands in command line like:
curl -XGET ‘localhost:9200/_cat/indices?v&pretty’
to
show all indices. I added “es_user” to internal SG database, but when I
run curl commands in command line I see that user is “Unauthorized”.
How can I give acces to Elasticsearch via command line? I cannot list, create, open, close etc. indices, because of that.