Splunk Enterprise

Splunk - How to generate an “identity column” id 1,2,3...

gunnist
Explorer

We're logging info/error logs in splunk/db. We're using .net and nlog.

In db, we're getting it in the right order when sorting because of identity column.

In Splunk, it's coming out of order if many log entries have the same date.

Is there a chance to tell splunk to create a "identity column" for everything that is piped into it? We're piping the logs into Splunk using HTTP Event Collector.

Thank you!

Gunnar

Labels (1)
0 Karma

s2_splunk
Splunk Employee
Splunk Employee

No, not really. A Splunk indexing tier usually consists of many indexers, all receiving data from various sources independently. There is no coordinating service that can produce such an event sequence number. You would have to include such a unique order key in your source data and use that to sort when searching, if timestamp granularity is not enough to maintain time series order.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...