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!

App Building 101 - Build Your First App!

WATCH RECORDING NOW   Tech Talk: App Dev Edition Splunk has tons of out-of-the-box functionality, and you’ve ...

Introducing support for Amazon Data Firehose in Splunk Edge Processor

We’re excited to announce a powerful update to Splunk Data Management with added support for Amazon Data ...

The Observability Round-Up: September 2024

What’s up Splunk Community! Welcome to the latest edition of the Observability Round-Up, a monthly series in ...