and when I checked the logs -
[2017-11-03T14:57:17,783][WARN ][o.e.x.s.a.AuthenticationService] [qrSYXO4] An error occurred while attempting to authenticate [logstash_system] against realm [reserved] - ElasticsearchSecurityException[failed to authenticate user [logstash_system]]
[2017-11-03T14:57:17,987][WARN ][o.e.x.s.a.AuthenticationService] [qrSYXO4] An error occurred while attempting to authenticate [logstash_system] against realm [reserved] - ElasticsearchSecurityException[failed to authenticate user [logstash_system]]
The logs you have shared indicate that the login failure happens for the user logstash_system and not kibana which is the one you attempt to authenticate to kibana with.
For the logstash issue:
Have you changed the default password ?
Have you added this to the logstash.yml configuration file ?
This is not intended to work.
The kibana user is the user that Kibana uses to access Elasticsearch, not a user that you should use to login to Kibana.
Our recommended approach is that you
Configure kibana (kibana.yml) to use the kibana user and password for accessing ES.
Login to Kibana (using a browser) using the elastic user (which is a superuser)
Using that superuser, create a new low-privilege user for accessing Kibana, and then use that new user for future Kibana access.
Alright got it but now getting totally new error -
[logstash.outputs.elasticsearch] Encountered a retryable error. Will Retry with exponential backoff {:code=>403, :url=>"http://10.68.168.21:9200/_bulk"}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.