So, here is a really odd situation. I have two pipeline files:
- Receive "Beats" fwd'ed logs over 5044 - send to ElasticSearch (x.x.x.164)
input {
beats {
port => "5044"
}
}
output {
elasticsearch {
hosts => ["x.x.x.164:9200"]
user => "xxxx"
password => "xxxx"
}
#stdout { codec => rubydebug }
}
- Receive Splunk "uncooked" log fwds over 2026, send to Splunk server (x.x.x.153) over UDP port 5014
input {
udp{
port => 2026
}
tcp{
port => 2026
}
}
output {
udp {
host => ["x.x.x.153"]
port => "5014"
}
}
Soooo....Both Elastic and Splunk are getting the same logs....if I delete the "Beats" pipeline and restart Logstash, Splunk just gets the "uncooked" log data coming in over 2026 and Elastic gets nothing (makes sense).
What is a mystery is why is Logstash is ignoring the "Beats" Pipeline directive (only logs coming in over 5044) and sending "Beats" logs over to Splunk as well?