Alerting

Send splunk internal warning and alerts via eMail

dominiquevocat
SplunkTrust
SplunkTrust

How can i send Splunk internal alarms like "indexer queue full, skipping internal indexes" etc to a eMail recipient?

Tags (2)
0 Karma

acharlieh
Influencer

I wonder if the REST API could help here.. Specifically /services/messages

I'm away from a Splunk instance currently to try things out and confirm but I would think that a query like:

| rest /services/messages count=0

Would work and then standard alerting from it... Or maybe you'd have to use map to loop over the subresources too but it might be a start 🙂

0 Karma

acharlieh
Influencer

That said however, if the warning is about min disk space being reached a Splunk search would not be kicked off either (assuming the volume with the dispatch directory is the issue), so maybe monitoring with another tool like Zabbix could be warranted as well

dominiquevocat
SplunkTrust
SplunkTrust
0 Karma

dominiquevocat
SplunkTrust
SplunkTrust

Thanks, i will look into it, it certainly looks promissing.

For the second part we use Nimsoft Nimbus and monitor the logfile of the forwarder and react to "ERROR*connection*failed".

0 Karma

joshd
Builder

Two options, you can use the internal sendemail command or the sendresults add-on for Splunk which provides much functionality and flexibility than the sendemail command.

Sendresults: https://splunkbase.splunk.com/app/1794/

Sendemail: http://docs.splunk.com/Documentation/Splunk/6.2.3/SearchReference/Sendemail

0 Karma

dominiquevocat
SplunkTrust
SplunkTrust

Hi @joshd,
thanks i am aware of this command. What i am unaware of is how to search for - um, banner messages and such internal errors...

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...