All Apps and Add-ons

splunk app for Bigfix

farooqw
New Member

I have installed splunk app for Bigfix from bigfix base, but when I run one of the python script manually to test for example python actions.py, i get the following errors:

Traceback (most recent call last):
File "actions.py", line 8, in
from bigfix import query_runner
File "/opt/splunk/etc/apps/bigfix/bin/../lib/bigfix/query_runner.py", line 26, in
from bigfix import web_reports_config
File "/opt/splunk/etc/apps/bigfix/bin/../lib/bigfix/web_reports_config.py", line 1, in
import splunk.clilib.cli_common
ImportError: No module named splunk.clilib.cli_common

0 Karma

p_gurav
Champion

Please run scripts using Splunk in-build python command as follows:

--- $SPLUK_HOME/bin/splunk cmd python $SPLUNK_HOME/etc/apps/bigfix/bin/<script_name>.py
0 Karma

farooqw
New Member

@p_gurav thanks for getting back, when I used that format, I get these errors

ERROR:root:Encountered Exception in GetRelevanceResult:
Traceback (most recent call last):
File "/opt/splunk/etc/apps/bigfix/bin/../lib/bigfix/soap/bfconnector.py", line 44, in run
self.results = self.client.service.GetRelevanceResult(expr.format(url=self.url, user=self.user), self.user, self.passwd)
File "/opt/splunk/etc/apps/bigfix/bin/../lib/suds/client.py", line 542, in call
return client.invoke(args, kwargs)
File "/opt/splunk/etc/apps/bigfix/bin/../lib/suds/client.py", line 602, in invoke
result = self.send(soapenv)
File "/opt/splunk/etc/apps/bigfix/bin/../lib/suds/client.py", line 637, in send
reply = transport.send(request)
File "/opt/splunk/etc/apps/bigfix/bin/../lib/suds/transport/https.py", line 70, in send
return HttpTransport.send(self, request)
File "/opt/splunk/etc/apps/bigfix/bin/../lib/suds/transport/http.py", line 83, in send
fp = self.u2open(u2request)
File "/opt/splunk/etc/apps/bigfix/bin/../lib/suds/transport/http.py", line 124, in u2open
return url.open(u2request, timeout=tm)
File "/opt/splunk/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/opt/splunk/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/opt/splunk/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/opt/splunk/lib/python2.7/urllib2.py", line 1242, in https_open
context=self._context)
File "/opt/splunk/lib/python2.7/urllib2.py", line 1199, in do_open
raise URLError(err)
URLError:

0 Karma

rfjohns1
Observer

Where is BigFix Base located? I have not been able to find it.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...