Getting Data In

Is "RecordNumber" a unique identifier?

michaeler
Communicator

I'm dealing with a lot of duplicate event logs at the exact same millisecond. From what I can tell, everytime this happens, the events in my search results have all of the same data. There are some events that follow with slightly different fields including a ascending "Record Number" count.

Should the record number be different for every log? 

I'm looking for a better way to identify duplicate data and stop logging it. In the past 16 hours, I've logged 550 events with different record numbers but 390,000 different events. Some record numbers repeating up to 600 times.

If you have a solution for this I'd appreciate it, but also just looking for a Unique ID to confirm this is an issue.

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

"Record Number" is not a built-in Splunk field so it's not a unique identifier by default.  Someone familiar with your data source would be the one to answer your questions.

Take a look at how the data is brought into Splunk.  Is there an input running on all indexers or search heads?  If so, that might explain some of the duplication.  Scripts used to ingest data must run in a single place or you risk duplicate events.

---
If this reply helps you, Karma would be appreciated.
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...