Hello,
I want to set up multiple outputs in metricbeat.yml, Is it possible we can set up?
output.elasticsearch:
hosts: ["abc.com"]
username: "xxxxx"
Password: "xxxx"
output.elasticsearch:
hosts: ["xyz.com"]
username: "xxxxx"
Password: "xxxx"
Hello,
I want to set up multiple outputs in metricbeat.yml, Is it possible we can set up?
output.elasticsearch:
hosts: ["abc.com"]
username: "xxxxx"
Password: "xxxx"
output.elasticsearch:
hosts: ["xyz.com"]
username: "xxxxx"
Password: "xxxx"
Hey @abhi.logs welcome to discuss
Beats don't support sending events to multiple outputs. For that you would need to run two instances of metricbeat with the same configuration except for the output and different data directories.
The other option is to send to Logstash and send to multiple outputs from there.
Thanks Jaime and Alex
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.