All Apps and Add-ons

Can I extract Syslog from SNMP traps using SNMP Modular Input via UDP (or TCP) 514?

Splunker
Communicator

Hi folks,

I'll try this out shortly, but thought i'd ask.

Cisco devices have the ability to send standard RFC formatted Syslogs over SNMP (v3 in this case) traps over TCP.

Using the SNMP Modular input, could i extract the Syslog from the trap and process it as if it was a normal Syslog entering Splunk via UDP (or TCP) 514?

I've ingested traps via snmptrapd writing to a log-file in the past, but there is alot of SNMP "junk" in the log i'd have to filter out, i was wondering if the SNMP modular input app has the same issue?

If anyone has any experience, comments, etc, in such a configuration?

Thanks.

Tags (2)
0 Karma

Damien_Dallimor
Ultra Champion

1) The SNMP Modular Input trap listener only listens on UDP (not TCP).

2) if you send syslog formatted data inside the trap , this will get indexed in Splunk and you can then perform whatever search time extractions you require to pull the relevant data from the syslog string into the fields you are interested in and ignore all the junk.

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...