Splunk Search

How to set up Alert setting, in case of a large interval between messages?

metylkinandrey
Communicator

Good afternoon!
I receive messages from systems on splunk, several messages from one system line up in a message chain.
As a rule, six messages from one system line up in a chain of six messages.
By message chain, I mean that splunk receives six messages with the same field: "srcMsgId".
Messages arrive one after another at different intervals, but the interval should not exceed the value of N.

Tell me how can I set up Alert in splunk, in case the interval between messages in the chain exceeds the value N.

Tags (1)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

You could use streamstats to calculate duration/range between those events. See https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Streamstats

If that exceed the N then just alarm.

r. Ismo

0 Karma
Get Updates on the Splunk Community!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...