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.
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

Data Management Digest – May 2026

Welcome to the May 2026 edition of Data Management Digest!   As your trusted partner in data innovation, the ...