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!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Community Content Calendar, October Edition

Welcome to the October edition of our Community Spotlight! The Splunk Community is a treasure trove of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...