Reputation: 92
We are trying to implement logstash with snmptrap, but the logs are not coming in logstash, in netstat the logstash udp port is not open for all can that be the issue.
logstash.conf
input {
snmptrap {
type => "snmptrap"
community => "public"
port => "1062"
}
}
snmptrapd.conf
authCommunity log,net public
forward default localhost:1062
Is there any issue with the configuration ? Netstat output
udp 0 0 0.0.0.0:162 0.0.0.0:*
udp 0 0 :::1062 :::*
Upvotes: 0
Views: 1010