Getting Data In

Can I make a field which contains the number of the entry, as a substitute for timestamp?

akcyril
New Member

I would like to experiment with entries in which time is mentioned as 1,2,3, .... , n; where the nth entry is the latest. Is this possible?

0 Karma

sundareshr
Legend

Look at streamstats command. You can use that to add a "counter" in reverse order to your events. Something like this may work base search | reverse | streamstats count

http://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Streamstats

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...