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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...