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!

ATTENTION!! We’re MOVING (not really)

Hey, all! In an effort to keep this Slack workspace secure and also to make our new members' experience easy, ...

Splunk Admins: Build a Smarter Stack with These Must-See .conf25 Sessions

  Whether you're running a complex Splunk deployment or just getting your bearings as a new admin, .conf25 ...

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...