Hello,
I have configured a remote server to send syslog to logstash.. When I run tcpdump -Xni eth0 I can see that syslog packets are coming to logstash server, but in elasticsearch I see no results. By the way I read all related topic and tried all configs but no luck. I even tried to output to a file .. I've concluded that logstash input is the problem, here is my input conf:
"""
tcp {
port => 5046
type => syslog
}
udp {
port => 5046
type => syslog
workers => 3
queue_size => 72000
receive_buffer_bytes => 31457280
}
"""
What does the rest of your Logstash config look like? Have you tried outputting to a stdout plugin with a rubydebug codec to what is actually being processed? have you tried to increase the Logstash logging level to debug to see if there are any errors reported?
this is logstash's log
[2018-03-23T14:16:45,927][INFO ][logstash.inputs.udp ] UDP listener started {:address=>"0.0.0.0:5046", :receive_buffer_bytes=>"31457280", :queue_size=>"72000"}
rubydebug: All I see is other logs in the output but I see nothing related to syslog also there is no error. (My logstash is on a docker container so I used this cmd: sudo docker logs -f logstash_1), plz correct me if I'm wrong.
I must say that in my elastic I can see IDS, vuln scanner logs, and even docker syslog
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.