Getting Data In

Can Timestamp Assignement Precedence Be Altered?

pdurrer
Loves-to-Learn

Is there a way to override the timestamp assignment precedence rules, as described here:

http://docs.splunk.com/Documentation/Splunk/6.4.3/Data/HowSplunkextractstimestamps

Specifically, I'd like to disable #3 ... assignment based on the last event time. The reason this is causing me a problem is in some of my events I use TIME_PREFIX to override _time with a timestamp in the event data. In some cases, this event data is very old. So when other data arrives which does not have the specified TIME_PREFIX, rather than getting assigned the current date/time, it sometimes gets recorded with one of these historical dates.

Thanks.

0 Karma

dmaislin_splunk
Splunk Employee
Splunk Employee

You need DATETIME_CONFIG. Read a blog entry I wrote on this very thing: http://blogs.splunk.com/2014/04/23/its-that-time-again

0 Karma

pdurrer
Loves-to-Learn

Thanks, but I must be missing something. How can a DATETIME_CONFIG file be configured to set the event timestamp to the current date/time when no timestamp is detected in the event data?

0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...