I tried with year, month, day and:
10-25-2016 15:43:21.027 -0500 WARN DateParserVerbose - A possible timestamp match (Thu Jun 13 05:47:54 2002) is outside of the acceptable time window. If this timestamp is correct, consider adjusting MAX_DAYS_AGO and MAX_DAYS_HENCE. Context: source::/files/splunk/201610151212/log1|host::Splunk|log1|122
10-25-2016 15:43:21.027 -0500 WARN DateParserVerbose - A possible timestamp match (Wed Aug 28 07:14:46 2002) is outside of the acceptable time window. If this timestamp is correct, consider adjusting MAX_DAYS_AGO and MAX_DAYS_HENCE. Context: source::/files/splunk/201610151212/log1|host::Splunk|log1|122
10-25-2016 15:43:21.027 -0500 WARN DateParserVerbose - A possible timestamp match (Thu Aug 12 17:16:19 2004) is outside of the acceptable time window. If this timestamp is correct, consider adjusting MAX_DAYS_AGO and MAX_DAYS_HENCE. Context: source::/files/splunk/201610151212/log1|host::Splunk|log1|122
10-25-2016 15:43:21.027 -0500 WARN DateParserVerbose - A possible timestamp match (Sat Oct 5 01:54:52 2002) is outside of the acceptable time window. If this timestamp is correct, consider adjusting MAX_DAYS_AGO and MAX_DAYS_HENCE. Context: source::/files/splunk/201610151212/log1|host::Splunk|log1|122
10-25-2016 15:43:21.027 -0500 WARN DateParserVerbose - A possible timestamp match (Wed Mar 13 00:20:38 2002) is outside of the acceptable time window. If this timestamp is correct, consider adjusting MAX_DAYS_AGO and MAX_DAYS_HENCE. Context: source::/files/splunk/201610151212/log1|host::Splunk|log1|122
10-25-2016 15:43:21.027 -0500 WARN DateParserVerbose - A possible timestamp match (Wed Jan 30 10:23:20 2002) is outside of the acceptable time window. If this timestamp is correct, consider adjusting MAX_DAYS_AGO and MAX_DAYS_HENCE. Context: source::/files/splunk/201610151212/log1|host::Splunk|log1|122
10-25-2016 15:43:21.027 -0500 WARN DateParserVerbose - A possible timestamp match (Tue Jan 29 16:15:06 2002) is outside of the acceptable time window. If this timestamp is correct, consider adjusting MAX_DAYS_AGO and MAX_DAYS_HENCE. Context: source::/files/splunk/201610151212/log1|host::Splunk|log1|122
The example folder was:
/files/splunk/201610151212
My files:
<define name="_masheddate3" extract="year, month, day">
<text><![CDATA[(?:^|source::)\/files\/splunk\/(\d{4})(\d{2})(\d{2})\/]]></text>
</define>
<datePatterns>
...
<use name="_masheddate3"/>
...
</datePatterns>
😞
... View more