I am using elastic stack 7.9. I have a 3 node elasticsearch cluster with https enabled using
http.p12 and I have configured kibana as well (but kibana still runs in http). I have set up credenatials for built-in users in elasticsearch (
Now, inorder to set up metricbeat (including kibana dashboards), I set up the elasticsearch username and password using the below commands;
./metricbeat keystore create ./metricbeat keystore add output.elasticsearch.username ./metricbeat keystore add output.elasticsearch.password
beats_system as the username, and then gave its password.
Question1: Is this correct and right way?
beats_system is a built-in user, should I explicitly mention as the username or will metricbeat automatically set is as default (so that I don't need to mention the username in keystore)
Then, I can see that there is another set of configurations;
Question 3: Should I add these entries to the keystore as well? If yes, is the username
Question 4: Do i need to copy key files / any additional configuration is required?