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 Smartness with Brandon Sternfield | Episode 3

Hello and welcome to another episode of "Splunk Smartness," the interview series where we explore the power of ...

Monitoring Postgres with OpenTelemetry

Behind every business-critical application, you’ll find databases. These behind-the-scenes stores power ...

Mastering Synthetic Browser Testing: Pro Tips to Keep Your Web App Running Smoothly

To start, if you're new to synthetic monitoring, I recommend exploring this synthetic monitoring overview. In ...