Splunk Search

searching changes in the specified field

rsathish47
Contributor

Hi All,

I have search which runs every four hours collecting the mailbox details. i need to alert or notify if any change in the specified field

Event @ 0
MailboxA CA=1 CA2=3
.
.
MailboxZ CA=2 CA2=3

Event @ 4
MailboxA CA=3 CA2=3
.
.
MailboxZ CA=2 CA2=3

Answer:

MailboxA changed CA1 vlaued 1 to 3

Please let me know how to perform this

Tags (1)
0 Karma
1 Solution

MuS
Legend

Hi rsathish47,

try something like this:

YourBaseSearchHere | streamstats current=f last(CA) as last_CA by Mailbox | where CA!=last_CA | ...

this assumes that you have a mailbox field extracted that represents MailboxA and/or MailboxZ

hops the helps to get you started ...

cheers, MuS

View solution in original post

MuS
Legend

Hi rsathish47,

try something like this:

YourBaseSearchHere | streamstats current=f last(CA) as last_CA by Mailbox | where CA!=last_CA | ...

this assumes that you have a mailbox field extracted that represents MailboxA and/or MailboxZ

hops the helps to get you started ...

cheers, MuS

rsathish47
Contributor

Thanks Buddy .. it works 🙂 🙂

0 Karma
Get Updates on the Splunk Community!

.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 ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...