Alerting

monitor change of a particular field

spyme72
Path Finder

i want to monitor a field called state which can have 2 values , stopped and running.
i want to alert when ever the state changes from running to stopped or from stopped to running.

Event:
Caption=WWAN AutoConfig
DisplayName=WWAN AutoConfig
Name=WwanSvc
ProcessId=0
StartName=NT Authority\LocalService
State=Stopped
Status=OK
SystemName=R9R8CF1
wmi_type=Services

Tags (2)
0 Karma
1 Solution

alacercogitatus
SplunkTrust
SplunkTrust

Maintaining state is greatly described here: http://blogs.splunk.com/2011/01/11/maintaining-state-of-the-union/. The best way to keep track is with lookups. If you run a search every 5 minutes, dedup will only know of state changes within that time range, and no longer, and running dedup over large datasets can become memory intensive. Read the article, and then repost with some specific questions if you have them.

View solution in original post

alacercogitatus
SplunkTrust
SplunkTrust

Maintaining state is greatly described here: http://blogs.splunk.com/2011/01/11/maintaining-state-of-the-union/. The best way to keep track is with lookups. If you run a search every 5 minutes, dedup will only know of state changes within that time range, and no longer, and running dedup over large datasets can become memory intensive. Read the article, and then repost with some specific questions if you have them.

lukejadamec
Super Champion

What answer 🙂

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

But in your answer, you specify that you are running a search every 5 minutes, which dedup will only look within whatever time range you pick. Dedup is especially more expensive a search, as it requires the events to be returned to the searchhead before throwing them away.

0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...