All Apps and Add-ons

How to write a python query to face the results from splunk hand pump 2 Prometheus?

Explorer

Hello everyone,
I have a python script which will connect to splunk and search with the query which I passed through a script and fetches the results.
So now my script is working fine and fetching the splunk results.
Now I want to send these results to Prometheus.. i have Prometheuslib installed...
Can anyone help me with docs, or script on this?

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!