All Apps and Add-ons
Highlighted

nCircle - Splunk for nCircle: How to install the nCircle API?

Engager

The documentation does not discuss how to install the nCircle API. I am having a problem getting additional python modules installed for Splunk's Python on Windows.

0 Karma
Highlighted

Re: nCircle - Splunk for nCircle: How to install the nCircle API?

New Member

Hi Declan

nCircleAPI is available in the bin folder of the App itself. The nCircleAPI is automatically included by the App's python scripts.

In order to run the scripts, Python interpreter should be available on the OS - for Windows check here: https://www.python.org/downloads/

0 Karma
Highlighted

Re: nCircle - Splunk for nCircle: How to install the nCircle API?

Engager

Interesting. I am currently attempting to use the python version that comes with Splunk. When I attempt to run the getAuditLog.py manually I am receiving the following:

getConfigFile: Warning: Cannot read config file or wrong json structure!
xmlrpclib fault: 1139 EBADREF: Invalid object reference

I am trying to figure out what its choking on.

0 Karma
Highlighted

Re: nCircle - Splunk for nCircle: How to install the nCircle API?

New Member

Try to run the python with the debugger (python -m pdb getAuditLog.py) and break the code at lines 31, 34 and 38 (e.g. b 31) where xmlrpclib calls are being performed. Continue with the script (type c) and when reaching the breakpoints, step over the call (using n or s) to find the the issue.

0 Karma