Monitoring Splunk

Getting splunk health metrics to prometheus/grafana with grok_exporter

NOCSSMS
Explorer

Hello everyone!

I'm new to splunk, but I'd like to monitory my Splunk Enterprise instance with prometheus and grafana. I'd like to get system statistics about how many messages are ingested by the splunk process (with the sources as labels), what the internal health of the system is (various message queues), processing time for messages, lookup times for various external sources, etc.

I figured that one way of collecting such data would be by scraping various logs with grok_exporter and exporting the relevant metrics to a prometheus instance. However, I'm new to splunk and I don't know what the relevant logs are. Could you guys point me in the right direction?

I'd also like to scrape various warnings/errors generated by splunk (and also license usage messages) so that I can forward them to Alert Manager.

In my searches I did find this project https://github.com/ehershey/splunk-exporter, but it exports only the most basic data (splunk status as up or down).

 

Any advice is welcome!

Regards,

Adrian

Labels (1)
Get Updates on the Splunk Community!

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...

Splunk AppDynamics Agents Webinar Series

Mark your calendars! On June 24th at 12PM PST, we’re going live with the second session of our Splunk ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...