Splunk Search

Splunks date_* fields not in all records

JensT
Communicator

Hi,

Splunk 4.3.6 (UF, HF, Idx and Srh)

Why are the date_* fields not in all records?

Regards,
Jens

Tags (2)
0 Karma

Ayn
Legend

(from @lguinn's answer in http://answers.splunk.com/answers/99451/variance-betweeen-_time-and-date_-fields )

The date_* fields are a direct parsing of the text timestamp in the input stream. These fields do not exist for inputs that do not use text timestamps; for example, none of them will appear in an input that uses Linux epoch time.

In other words, you should not rely on them being there.

Ayn
Legend

I totally agree. 🙂

0 Karma

JensT
Communicator

Hi,

thanks for the speedy answer. So i consider this as a design flaw.
We have billions of records with these fields (Linux, Unix, Solaris) and millions without (Windows Event Logs).

Its confusing to users and will be hard to explain this, but at least we know that we cannot rely on them.

Regards and thanks,

Jens

Get Updates on the Splunk Community!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...