Splunk Enterprise

datetime.xml

VijaySrrie
Builder

Hi Team,

I am asked to use datetime.xml for my logs. May I know how to use it? In props do I need to configure datetime.xml? or I need to point it to datetime.xml which splunk has?

if I need to point it how to write the configs?

Index=ps_main

sourcetype = psps

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Splunk ships with a datetime.xml file that is used by default unless the relevant props.conf file contains DATETIME_CONFIG=CURRENT or DATETIME_CONFIG=NONE.  You can use your own datetime.xml file by putting DATETIME_CONFIG=/path/to/your/datetime.xml in the appropriate props.conf file.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...