All Apps and Add-ons

Can the 'Solaris BSM Audit log loader' Splunk app be run on a forwarder, or does it have to be run on an indexer?

wrangler2x
Motivator

I have a situation where another group on my campus is collecting BSM logs on a central server. Actually, what they are doing is running a Solaris server running Solaris zones, and the global zone is doing all of the auditing for all of the local zones on the server. They are interested in using my splunk indexer to index their audit data.

The app says that it is to be run "on a server that is running bsm to capture audit". This
implies to me that it needs to be run on the indexer, which would do me no good in this situation. The question I have is, can this app be run on a splunk forwarder on their Solaris server, then forward them to my indexer as text logs via the forwarder? The app is at http://apps.splunk.com/app/847/

I tried the contact link there and got

      ----- The following addresses had permanent fatal errors -----
<issupport@exponant.com>
    (reason: 550 No such user - psmtp)
0 Karma

rzessin
New Member

Hi,
Just edit the bsmping.py file - get rid of the splunk-python dependencies.

Cheers,
Ralf

My diff output is:

splunksrv1:/opt/splunk/etc/deployment-apps/bsm/bin # diff bsmping.py /tmp
5a6
> #-- Updated by Ralf Zessin - get rid of splunk-python includes
10,11d10
< import splunk.Intersplunk as si
< import splunk.clilib.cli_common as comm
15c14,15
<     si.generateErrorResults('Environment variable SPLUNK_HOME must be set')
---
>     print 'ERROR: Environment variable SPLUNK_HOME must be set'
>     sys.exit(1)
17c17
< VERSION = '1.4'
---
> VERSION = '1.5'
97c97,98
<             si.generateErrorResults("Too few arguments")
---
>             print 'ERROR: Too few arguments'
>             sys.exit()
349c350,351
<       si.generateErrorResults("Incorrect usage...")
---
>       print 'ERROR: Incorrect usage...'
>       sys.exit()
0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud | Customer Survey!

If you use Splunk Observability Cloud, we invite you to share your valuable insights with us through a brief ...

Happy CX Day, Splunk Community!

Happy CX Day, Splunk Community! CX stands for Customer Experience, and today, October 3rd, is CX Day — a ...

.conf23 | Get Your Cybersecurity Defense Analyst Certification in Vegas

We’re excited to announce a new Splunk certification exam being released at .conf23! If you’re going to Las ...