mycloudcms
(mycloudcms mycloudcms)
June 24, 2020, 10:00am
1
Hi, once I try to add multiple output.logstash as array, I don't get any data, can you please assist? Thank you
ex.
#----------------------------- Logstash output --------------------------------
output.logstash:
# The Logstash hosts
**hosts: ["log01.ex.com:5044","log02.ex.com:5045"]**
# Optional SSL. By default is off.
# List of root certificates for HTTPS server verifications
#ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]
# Certificate for SSL client authentication
#ssl.certificate: "/etc/pki/client/cert.pem"
# Client Certificate Key
#ssl.key: "/etc/pki/client/cert.key"
warkolm
(Mark Walkom)
June 25, 2020, 1:32am
2
If that's an exact copy of your config, you should remove the **
around the hosts
setting.
mycloudcms
(mycloudcms mycloudcms)
June 26, 2020, 1:44pm
3
Hi, it's just a typo the **
around the hosts
setting.
mycloudcms
(mycloudcms mycloudcms)
July 9, 2020, 11:38am
4
Hi, anyone can please assist?
Jenni
July 9, 2020, 12:56pm
5
Just to make sure: You are really not getting any data in either of these Logstash instances? With this configuration the expected behaviour would be that one gets all the data and the other gets none.
vishakh
(Vishakh)
July 27, 2020, 10:05pm
6
If you've more than one logstash-output - Make sure you add loadbalance: true
option to output.logstash
system
(system)
Closed
August 24, 2020, 10:05pm
7
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.