Submit a query to splunk (api) via a python script.