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!

Quantify Your Splunk Investment Impact: Introducing Savings Metrics to Value Insights

Building on the foundation established in our initial Value Insights releases, we are introducing the Savings ...

Event Series: Telemetry Pipeline Management

Balancing Scale and Spend: Gaining Control Over High-Volume Metrics in Splunk Observability Cloud As ...

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...