Sorry, which one is the best practice? Because when we run elasticsearch-setup-passwords auto it generates passwords for beats_system and elastic for us.
output.elasticsearch:
hosts: ["localhost:9200"]
protocol: "https"
username: "elastic"
password: "${ES_PASSWORD}"
Or
output.elasticsearch:
hosts: ["localhost:9200"]
protocol: "https"
username: "beats_system"
password: "${BEATS_SYSTEM_PASSWD}"
If the former is correct, then in which circumstances do we use beats_system?
Many Thanks,
Houman

