All Apps and Add-ons

Cisco ASA Add-in and getting data in...

mshilston
Path Finder

Hi All,

I'm looking at configuring inputs for the Cisco ASA add-on on my UF as per;

HERE

My understanding was that the best practice was to send any Syslog streams to a Syslog server and then read the resulting output files with a file monitor.

This seems to suggest you just sent directly to Splunk.

How can I set up this add-in to use an inputs.conf file containing appropriate file monitors? Is that supported?

Many thanks!

M

0 Karma
1 Solution

xpac
SplunkTrust
SplunkTrust

Hey,
although your link is missing, I assume you mean THIS.

Actually, it doesn't matter if you use direct TCP/UDP input, or file monitors (although the latter is preferred best practice), it just matters that you put the right sourcetype on it.

You can choose the approriate one from this list.

Hope that helps - if it does I'd be happy if you would upvote/accept this answer, so others could profit from it. 🙂

View solution in original post

xpac
SplunkTrust
SplunkTrust

Hey,
although your link is missing, I assume you mean THIS.

Actually, it doesn't matter if you use direct TCP/UDP input, or file monitors (although the latter is preferred best practice), it just matters that you put the right sourcetype on it.

You can choose the approriate one from this list.

Hope that helps - if it does I'd be happy if you would upvote/accept this answer, so others could profit from it. 🙂

mshilston
Path Finder

OK thanks,

So just to I'm clear, it would be acceptable to create an /local/inputs.conf within the App structure and monitor files so long as I define the correct sourcetype within the monitor stanza?

Or would it be considered against best practice to modify a pre-built Apps structure? In this case would it be better to create a new app?

M

0 Karma

xpac
SplunkTrust
SplunkTrust

No, it's perfectly fine.
Just to make sure: If you download somebody else's app, you should never change the default configs, because you'll loose those changes on an update - but it's perfectly fine to add stuff to local. Actually, it's good practice for app developers to not ship any active inputs with an app, because an app shouldn't start inputs, create indexes or other stuff - that should be part of the install guide and a conscious action by the admin who installs it.
So - create an inputs.conf in the local directory of the app, and then deploy it. 🙂

0 Karma

mshilston
Path Finder

Thanks xpac, that is really helpful advice.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...