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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...