Getting Data In

Populating Syslog Data from Cisco WLC into a Specific Index

fdharmawan
New Member

Hi Guys,

May I know how to make syslog data from a specific IP (in this case Cisco WLC) to be inserted into a specific index? I already forwarded the syslog into Splunk, but somehow it falls into the wrong index. From the WLC side, unfortunately it cannot specify the syslog port. I did created the index and forward the syslog from WLC to Splunk. But not sure how to connect the data into the index. Thank you.

Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @fdharmawan,
you have to insert in your Indexers and (if present) Heavy Forwarders, the following files:

In $SPLUNK_HOME/etc/system/local/transforms.conf

[overrideindex]
DEST_KEY =_MetaData:Index
REGEX = .
FORMAT = my_new_index

In $SPLUNK_HOME/etc/system/local/props.conf

[host::your_ip_address]
TRANSFORMS-index = overrideindex

In addition I hint, you could create a dedicated app and insert these props.conf and transforms.conf in it: $SPLUNK_HOME/etc/apps/your_app/local

Ciao.
Giuseppe

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...