Splunk Search

Identify predictor fields

eregon
Path Finder

Good morning fellow Splunkthiasts!

I have an index with 100k+ events per minute (all of them having the same sourcetype), approximately 100 fields are known in this dataset. Some of these events are duplicit, while others are unique. My aim is to understand the duplication and be able to explain what events exactly get duplicated.

I am detecting duplicities using this SPL:

 

index="myindex" sourcetype="mysourcetype" | eventstats count AS duplicates BY _time, _raw

 

Now I need to identify what fields or their combination make the difference, under what circumstances the event is ingested twice.

I tried to use predict command, however it is somehow producing new values for "duplicates" field, but it does not disclose the rule by which it makes the decision. In other words, I am not interested in prediction itself, I want to know the predictors.

Is something like that possible in SPL?

Labels (1)
0 Karma

jason_hotchkiss
Communicator
0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...