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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...