Hi Team,
I am getting an error message "Request failed: Session is not logged in." when trying to run rest apis from python script.
Curl command works fine, it generates the session key as well it connects to the splunk results and fetches the results.
I am using this in my script.
import splunklib.client as client
service = client.connect(host=host, port=8089,username=user, password=password)
Am I missing anything here?
I am
Issue got resolved by updating splunklib