I am having the same error: "gaierror: [Errno 11004] getaddrinfo failed"
However, none of the suggestions here have helped me resolve it. Here's my code:
import os
import splunklib.client as client
service = client.connect(host='https://<my_company_login_portal>.splunkcloud.com',
port=8089,
username=os.environ['SPLUNK_USERNAME'],
password=os.environ['SPLUNK_PASSWORD'])
I've confirmed that:
My user account has permissions to connect
A firewall is not blocking the requests
Port 8089 is open on splunk's end
Any direction on this error is appreciated. Thanks!
... View more