Splunk Search

possiblity of getting an alarm in terms of sound for an event.

jerinvarghese
Path Finder

Hi All,

I am having a working code.

index=opennms "uei.opennms.org/nodes/nodeDown" AND "PGPMVCP1-LANRTC001"
 | rename _time as Time_CST 
 | sort - Time_CST
 | fieldformat Time_CST=strftime(Time_CST,"%m/%d/%y %H:%M")
 | dedup eventlogmsg
 | table nodelabel, eventlogmsg, Time_CST

This gives me output.

nodelabel   eventlogmsg Time_CST
PGPMVCP1-LANRTC001  PGPMVCP1-LANRTC001 : Node is down.  03/24/20 02:49

Is it possible to generate a sound alarm or a ringtone or a noise when this appears on the dashboard.
hw can i set up that.

0 Karma

PavelP
Motivator

yes, it is possible.
On Desktop (Windows/Linux/Mac) via script alert (deprecated) action (taken from https://answers.splunk.com/answers/2228/audio-alerts-on-client-browser-is-it-possible.html 😞

start "c:\music\my song.mp3"

Using browser only: https://www.splunk.com/en_us/blog/tips-and-tricks/audible-alerts.html

0 Karma
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.