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!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...