Getting Data In

Time Format

VijaySrrie
Builder

Hi,

 

Is it possible to have two different Time Formats?

Some logs are having the first time format and other logs are having second time format.

Apart from datetime.xml, is there any other way?

 

2022-01-24 02:27:20.989

2022-01-24T02:27:20.989

Labels (1)
Tags (1)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

When you have several different time formats on one log file then you could use transforms.conf with INGEST_EVAL. There is a conf presentation about it also some other examples  can easily found from google.

r. Ismo

Get Updates on the Splunk Community!

Stay Connected: Your Guide to July Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...