Splunk Python SDK
![](https://drewy.ru/wa-data/public/blog/img/6312521781944331714167.png)
Splunk Python SDK simple query
Выполнение запросов к splunk из Python с помощью библиотеку splunklib и REST API Splunk
-------------------------------------------------------------------------
import splunklib.results
import splunklib.client as client
HOST = "host"
PORT =8089
USERNAME = "USERNAME!!!"
PASSWORD = "PASS!!!"