All Apps and Add-ons

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

marisstella
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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...