It is possible to set the namespace for a search job with the pythonSDK? Something like:
service = client.connect()
job = service.jobs.create('search * | head 5', namespace='SplunkForNagios')
I know I can set the app in the connect() call, but I was hoping to keep a global connection open, and just set the app when I execute a search.
this works:
job = service.jobs.create('search * | head 5', app='SplunkForNagios')
So the PythonSDK must map the keyword app to the REST API parameter namespace.
this works:
job = service.jobs.create('search * | head 5', app='SplunkForNagios')
So the PythonSDK must map the keyword app to the REST API parameter namespace.