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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...