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

Happy Splunking!
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 
Happy Splunking!

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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...