Hi Matthew, thank you for your response. I went through the link you shared but couldn't find the way to solve my issue.
When I add these to elasticsearch.yml file in my master node and other node as per the two nodes in the security blog tutorial.
xpack.security.authc:
anonymous:
username: anonymous_user
roles: role1
authz_exception: true
I get this when I try to access localhost:9200 where elastic node should be.
{"error":{"root_cause":[{"type":"security_exception","reason":"action [cluster:monitor/main] is unauthorized for user [anonymous_user]"}],"type":"security_exception","reason":"action [cluster:monitor/main] is unauthorized for user [anonymous_user]"},"status":403}
I also try adding this as per the discussion on the link you shared to kibana.yml file, but still this is not working as desired.
xpack.security.anonymous.enable: true
It will be helpful if someone can help me with steps or tutorial I should follow to add anonymous access to specific kibana dashboard. At present I am able to add security features for users, I want to have one anonymous access also in addition with users.
Thank you
Saurabh