Getting Data In

Cisco Config files

skibum
Engager

Looking to use splunk to compare my cisco router configuration files? Since it does not seem I can use the forwarder for changes, what are my options?

Tags (1)
0 Karma

mikaelbje
Motivator

This is a planned feature for the Cisco IOS app. In the meantime you can do the following:

On your Cisco device:

archive
 path ftp://USER:PASSWORD@YOUR.FTP.SERVER/cisco_backups/$h
 write-memory
 log config
  logging enable
  logging size 200
  notify syslog contenttype plaintext
  hidekeys
!

An example Splunk input on your forwarder + FTP server:

[monitor:///ftproot/cisco_backups/*]
sourcetype = Cisco:IOS:Configuration
disabled = false

Make sure you have the Technology Add-on for Cisco IOS installed on your indexer/forwarder as it defines the Cisco:IOS:Configuration sourcetype stanza.

You can then use the built-in Splunk "diff" command to compare two versions

dwaddle
SplunkTrust
SplunkTrust

Comparing configuration files for network devices really isn't Splunk's strong suit. Splunk is designed to store, index, and search on mostly unstructured or semi-structured data.

You might consider something like RANCID http://www.shrubbery.net/rancid/ and integrating it into Splunk. RANCID does the job of logging into routers on a schedule and downloading configurations and other information, and comparing it to the last time RANCID was run. The results of RANCID's comparisons could easily be pushed into Splunk as log events and searched upon that way.

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...