Our blog

7 Splunk Date Format Changes Beginning in 2020

Using Splunk Statistical Commands: Eventstats and Streamstats by bitsIO

You all must have heard of Splunk datetime recognition issues starting Jan 1st 2020. Below is visual representations of the date formats using regex that are impacted. You will have to change datetime.xml file in /opt/splunk/etc directory. You can see how the change impacts, please check Before & After the change.


Date format 1: CCYY

Date format 2: YY


Date format 3: CCYYMMDD

Date format 4: YYMMDD

Date format 5: MMDDCCYY

Date format 6: MMDDYY

Date format 7: UTC epoch time

Here is how to fix this, it’s very well documented at Splunk.