All Apps and Add-ons

Cisco Firewall Add-on

ahammond
Explorer

Have Security Suite and Firewall addon installed, ASA sending syslog to UDP:514 with sourcetype blank. Default Transform for source type not working, source type is being set to udp:514 not cisco_firewall or cisco_asa

Mar 16 17:35:33 10.0.10.1 :%ASA-session-4-106023: Deny udp src

Have added /local/transforms.conf

[force_sourcetype_for_cisco_asa]
DEST_KEY = MetaData:Sourcetype
REGEX = %ASA-\w+-\w+
FORMAT = sourcetype::cisco_asa

Why are default transforms not working?

0 Karma

tmeader
Contributor

Hmm, not sure what to tell you. That overloaded REGEX for force_sourcetype_for_cisco_asa will DEFINITELY match the new format. You aren't using a distributed environment at all are you? Separate indexer and search head? If by chance you are, these changes will need to be made on the indexer, since that where the sourcetype metadata is written. Also, just to be clear, you added that under the [ciscoapp]/local directory right? Not under /etc/system/local?

0 Karma

ahammond
Explorer

Yes, that is correct, with the slashes and I did restart Splunk.

0 Karma

tmeader
Contributor

You did restart Splunk after that change? Also, I'm assuming this is just due to the formatting on answers.splunk.com, but, you did put "%ASA-\w+-\w+" correct? Not without the slashes?

0 Karma

cvajs
Contributor

the REGEX above is incorrect, you used "w" instead of regex char class "\w"
change your regex to be %ASA-\w+-\w+-
(or maybe the slash just didnt show up in your post because this forum code takes a single slash as a special char??)

you could "normalize" the event info by using a SEDCMD in default props for this source definition and replace ":%ASA-session" with "%ASA". see if this helps the app find the data you need, etc.

EDIT - i believe there are other posts about this issue.
see this post, should fix the problem
http://splunk-base.splunk.com//answers/42936/cisco-asa-logging-format-change

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!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...