Getting Data In

Has anyone managed to get northbound notifications to be sent from Cisco Prime to Splunk?

issdevt
New Member

Hello

I testing Splunk and have it set up to receive syslog from various Cisco Wireless controllers and AP's but am having issues with trying to get our Cisco Prime management platform to send information about alarms etc. to Splunk.

I know the data is being sent, as Splunk is showing the traffic being received on port 162 but the data looks like this:

0\x82\xB8public\xA7\x82\xA9AQ\xB5

host = (correct name)  source = 162   sourcetype = snmpv2  timestamp = none

Has anyone managed to get Northbound notifications to be sent from Prime to Splunk? I am obviously missing something, but am not quite sure what

thank you for any guidance

regards

Bryn

Tags (2)
0 Karma
1 Solution

mikaelbje
Motivator

Hi Bryn,

The northbound notifications are in fact SNMP traps. If you want to receive SNMP in Splunk you will need the SNMP modular input add-on from apps.splunk.com

I would honestly advise against dealing with SNMP in Splunk. What I'd instead suggest is to read up on the Cisco Prime Infrastructure REST API which allows you to poll for device info, alarms and more. There is a Splunk add-on called REST Modular Input which allows you to get this data from CPI using the API reference.

I want to let you know that I'm working on a CPI add-on for Splunk which will support polling device info, primarily to complement my Cisco Networks app and add-on. More features may be added.

View solution in original post

stealthby
New Member

Hello Bryn,

Can you please direct me to any resource to help me set up to receive syslog from Cisco Wireless controllers and AP's. I'm new to Wireless and Splunk any help would be appreciated.

Cheers,

0 Karma

mikaelbje
Motivator

Hi Bryn,

The northbound notifications are in fact SNMP traps. If you want to receive SNMP in Splunk you will need the SNMP modular input add-on from apps.splunk.com

I would honestly advise against dealing with SNMP in Splunk. What I'd instead suggest is to read up on the Cisco Prime Infrastructure REST API which allows you to poll for device info, alarms and more. There is a Splunk add-on called REST Modular Input which allows you to get this data from CPI using the API reference.

I want to let you know that I'm working on a CPI add-on for Splunk which will support polling device info, primarily to complement my Cisco Networks app and add-on. More features may be added.

issdevt
New Member

Thank you for that really informative comment...REST API is not something I was aware of and I'll look into that

0 Karma

mikaelbje
Motivator

You're welcome. Please accept my answer by ticking the check icon if you feel you got the answer you were looking for.

If you're struggling to find the PI REST API reference, log in to your CPI server and click on the little help icon with a question mark in it near the top right corner. You'll see a reference to "API Reference". I'm not 100% sure about the wording.

0 Karma

issdevt
New Member

Mikaelbje...once again, thank you the direction, I am now getting data in from Prime using the REST API and the Splunk add-on

0 Karma

mikaelbje
Motivator

Oh, if you want to test the work in progress CPI add-on check this link: https://github.com/inspired/TA-cisco_prime_infrastructure

Modify local/inputs.conf for your server, username and password. Keep the sourcetype as it is 🙂

0 Karma

hettervik
Builder

I'm also interested in the project! If you still have it, please share. 🙂

0 Karma

rpquinlan
Path Finder

Hello Mikael,

I tried to look for your project on github, but didn't find it. Has it been abandoned, or just moved? This would be quite helpful for us. Thanks!

0 Karma

aakwah
Builder

I think you need to set tcp stanza instead of tcpsplunk in inputs.conf as per the following

[tcp://syslog.corp.company.net:162]
sourcetype = syslog

Please refer to doc:
http://docs.splunk.com/Documentation/Splunk/6.2.1/admin/inputsconf

0 Karma

issdevt
New Member

thank you!

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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