user3355434
user3355434

Reputation: 92

logstash-snmptrap not showing any logs in logstash

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

Answers (0)

Related Questions