Splunk Search

Splunk query

Gayathirik
Path Finder

Hi

I need to write a query for creating an alert whenever there is message in the "Splunk bar" message tab.

Please help me with this.

Tags (1)
0 Karma
1 Solution

renjith_nair
Legend
  • Write a search to find the message in Splunk bar
  • Save as alert
  • Select the schedule of the alert
  • Under trigger conditions select Number of Results and then is greater than 0 option
  • Select your trigger actions

Reference :

http://docs.splunk.com/Documentation/Splunk/6.4.3/Alert/AlertWorkflowOverview
http://docs.splunk.com/Documentation/Splunk/6.4.3/Alert/Definescheduledalerts

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma

Gayathirik
Path Finder

am clear about the process of creating an alert. Could you please help me in writing the splunk query whenever we get a pop up message in the splunk message tab?

0 Karma

renjith_nair
Legend

Alright !

Try this

| rest /services/messages| table title message severity timeCreated_iso published splunk_server author 
---
What goes around comes around. If it helps, hit it with Karma 🙂

Gayathirik
Path Finder

This doesnt meet my requirement.

My issue here is For example: in the message tab some warning or error message like "indexer is down or too many streamings to the target" is popped out then the same thing has to be triggered as an alert whenever there is a message pop up in splunk bar.

0 Karma

esix_splunk
Splunk Employee
Splunk Employee

There is no list of these messages. But you should be able to find these in the "_internal" index. Create alerts for these as you would a normal event.

0 Karma
Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...