I have like 5 elastic nodes in total. One node ingest and coordinating node while two are dedicated master nodes and the other two are dedicated data nodes.
I have elasticsearch install on all my five nodes with respective settings.
What i am confused about and want to know is.
Does i need to include all the elasticsearch nodes ip addresses in filebeat.yml file
which is install on seperate nodes
output.elasticsearch.hosts: ['https://x.x.x.x', '' '',"" ]
or i should add only the specific type of nodes ip:port in this list. Actually i am really confuse and don't know much about this. Filebeat will be inserting data into elasticsearch so can anyone guide on this.