Getting Data In

Splunk indexing data incorrect

LeandroKopke
Explorer

I'm having trouble indexing my logs.
After investigations, I noticed that the splunk started indexing the data with the wrong date. Our log has the format dd /mm/yy, while splunk since last week began interpreting the dates as mm yy/dd, playing data from 04/18/19 to 04/19/18 - April 19, 2018 .
How can I fix this?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

You need to specify the TIME_FORMAT attribute for that sourcetype in props.conf. In fact, it's a Best Practice to specify TIME_FORMAT for all sourcetypes to prevent this type of problem.
The data already indexed cannot be changed.

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

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...