Splunk Search

How to detect repeating log entries?

greathera
Explorer

Hello,
When my application fails it will generate repeating log lines. I must detect where there are repeating log entries to determine what thread is causing the problem. Each time there is a failure the content of the repeating logs will be different depending on the thread / process that is having the problem. Can Splunk detect a sequence of repeating log entries? How would I do this? I see there is a md5 function and wonder if this can used to generate a hash per log line and then compare each new log entry to the one before it (or the log entry two lines back?).
Thank you for any help on this.
Zusa

Tags (2)
0 Karma

greathera
Explorer

Hi gfuente,

Thank you for pointing this out. I will test to see if I can get it to work.

Much appreciation,

Zusa

0 Karma

gfuente
Motivator

Hello

You could use the cluster command:

http://docs.splunk.com/Documentation/Splunk/6.0/SearchReference/Cluster

That groups similar events.

Regards

greathera
Explorer

Hi gfuente,

Thank you for pointing this out. I will test to see if I can get it to work.

Much appreciation,

Zusa

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