<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DateParserVerbose issue in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55375#M10798</link>
    <description>&lt;P&gt;'| delete' doesn't really delete - rather it masks the events from search.  If you want to reindex, delete won't help, as Splunk still keeps a history that it has seen your file(s) before.  Let us know how your next attempt goes.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jan 2012 21:00:50 GMT</pubDate>
    <dc:creator>araitz</dc:creator>
    <dc:date>2012-01-20T21:00:50Z</dc:date>
    <item>
      <title>DateParserVerbose issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55369#M10792</link>
      <description>&lt;P&gt;I indexed a huge log with data that is going back to 2006.  However when I try to search on this data it doesn't show up.&lt;/P&gt;

&lt;P&gt;Looked in the splunk error logs and found this error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;01-18-2012 18:40:12.234 -0500 WARN  DateParserVerbose - A possible timestamp match (2006-02-13 23:35:03+00) is outside of the acceptable time window. If this timestamp is correct, consider adjusting MAX_DAYS_AGO and MAX_DAYS_HENCE.  Context="source::/tmp/log/sql_data|host::lalala |OXRSTEST|"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I researched these tags here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Configuretimestamprecognition"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Configuretimestamprecognition&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I also did a search for just a date going back to 2006 and I did get results.  It appears splunk is taking events from dates in the past and grouping them together under 1 event and giving it a recent date of a few days ago.  Here is an example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;1/18/12
6:27:30.000 PM  

 2006-02-13 23:00:02+00 | &lt;A href="https://community.splunk.com/www.somesite.net" target="test_blank"&gt;www.somesite.net&lt;/A&gt; |          0 |            23 |           21 |           25 |            22 |            22 |               21 |             21 |             25 |           0
 2006-02-13 23:05:03+00 | &lt;A href="https://community.splunk.com/www.somesite.net" target="test_blank"&gt;www.somesite.net&lt;/A&gt; |          0 |            22 |           23 |           22 |            24 |            22 |               21 |             21 |             21 |           0
 2006-02-13 23:10:02+00 | &lt;A href="https://community.splunk.com/www.somesite.net" target="test_blank"&gt;www.somesite.net&lt;/A&gt; |          0 |            22 |           23 |           22 |            22 |            22 |               21 |             21 |             22 |           0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In this example it counted the "event" as 1 event with a date of 1/18/12 and in the details of the event there are timestamps from 2006.  Each timestamp should be a separate event.  &lt;/P&gt;

&lt;P&gt;If I search for recent data of this nature, each timestamp and numbers following it are listed as a separate event.&lt;/P&gt;

&lt;P&gt;So I'm wondering is it a linecount issue, a timestamp issue or both combined?  &lt;/P&gt;

&lt;P&gt;If I were to change the maxdaysago and maxdayshence tags values in props.conf, is this going to affect other data that is showing up fine at the moment?&lt;/P&gt;

&lt;P&gt;Has anyone changed these values in their props.conf and if so, what did you change them to and did you have any problems after changing them?  I also am looking at other questions regarding this issue and none really give an idea of what they changed it to.  Any ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 23:12:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55369#M10792</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2012-01-19T23:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: DateParserVerbose issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55370#M10793</link>
      <description>&lt;P&gt;Changing MAX_DAYS_PREVIOUS and MAX_DAYS_HENCE is OK for one particular sourcetype, source, or host at a time.  As long as all the timestamps for the source in question are simple to detect such as this one, you should have no issues.  &lt;/P&gt;

&lt;P&gt;Do keep in mind that this setting will only be effective for new data only.  It won't fix your old data unless you reindex it.&lt;/P&gt;

&lt;P&gt;As for the linebreaking, I can't tell if there is a space at the beginning of those lines or not.  I will assume there is not.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [your_sourcetype]
 MAX_DAYS_PREVIOUS = 2500
 SHOULD_LINEMERGE = True
 BREAK_ONLY_BEFORE = ^\d+4-\d+\-\d+\s+\d+\:
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can and should always set up a test instance and try out these changes before you go crazy on your production servers.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2012 04:12:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55370#M10793</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2012-01-20T04:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: DateParserVerbose issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55371#M10794</link>
      <description>&lt;P&gt;ah this was the answer i was looking for.  Yes I have a test box that I'm going to give this a try on.  Also I might check if you are right about there being a space at the beginning of the lines.  Perhaps that's the difference.  I'll test this and see what happens.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2012 16:03:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55371#M10794</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2012-01-20T16:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: DateParserVerbose issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55372#M10795</link>
      <description>&lt;P&gt;Well first I tried deleting the info by doing sourcetype=OXRSTEST | delete.  After this, I added the info to the props.conf and changed the path to the log in question.  I modified my inputs.conf as well to reflect this new path to the log that I moved.&lt;/P&gt;

&lt;P&gt;After this I did a oneshot command to add the log which was recommended in another thread.  &lt;/P&gt;

&lt;P&gt;splunk add oneshot -source /opt/splunk/log/sql_data* -sourcetype OXRSTEST&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2012 20:21:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55372#M10795</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2012-01-20T20:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: DateParserVerbose issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55373#M10796</link>
      <description>&lt;P&gt;However after giving it some time, it seems worse now.  The first result is still 25 lines of data all listed as 1 event and all from 2006.  However now I have a bunch of other lines all listed now with all the same date of 2/11/11.  ?  Perhaps I need to do something else or make it a different sourcetype entirely at this point.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2012 20:22:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55373#M10796</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2012-01-20T20:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: DateParserVerbose issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55374#M10797</link>
      <description>&lt;P&gt;I'm going to try this again...&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2012 20:43:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55374#M10797</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2012-01-20T20:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: DateParserVerbose issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55375#M10798</link>
      <description>&lt;P&gt;'| delete' doesn't really delete - rather it masks the events from search.  If you want to reindex, delete won't help, as Splunk still keeps a history that it has seen your file(s) before.  Let us know how your next attempt goes.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2012 21:00:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55375#M10798</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2012-01-20T21:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: DateParserVerbose issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55376#M10799</link>
      <description>&lt;P&gt;Oh that's right!  well my solution is to make a new index for this data, alter the sourcetype slightly and then only search on this data.  Also if i have to delete it i can specify the index with only this data in it.  I'll keep you posted.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2012 23:15:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55376#M10799</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2012-01-20T23:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: DateParserVerbose issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55377#M10800</link>
      <description>&lt;P&gt;Well, i made a separate index for my data.  I took out the data from 2006 and put it in a separate log.  When this data was reindexed, the data was no longer clumped together.  Each line was a separate event.  However each event still had a timestamp of today, when the data was indexed, and not of the date that is listed for the event in the file itself&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2012 18:56:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55377#M10800</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2012-01-24T18:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: DateParserVerbose issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55378#M10801</link>
      <description>&lt;P&gt;all of the suggestions you gave are in props.conf.  &lt;/P&gt;

&lt;P&gt;[OXRSTEST3]&lt;BR /&gt;
MAX_DAYS_PREVIOUS = 2500&lt;BR /&gt;
SHOULD_LINEMERGE = FALSE&lt;BR /&gt;
MUST_BREAK_AFTER = "|[^|]&lt;EM&gt;$"&lt;BR /&gt;
BREAK_ONLY_BEFORE = \s&lt;/EM&gt;^\d+4-\d+-\d+\s+\d+:&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:21:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55378#M10801</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2020-09-28T10:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: DateParserVerbose issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55379#M10802</link>
      <description>&lt;P&gt;going to try MAX_DAYS_AGO instead&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:21:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55379#M10802</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2020-09-28T10:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: DateParserVerbose issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55380#M10803</link>
      <description>&lt;P&gt;don't see a max_days_previous on the props.conf config page...this could be the problem&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:21:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55380#M10803</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2020-09-28T10:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: DateParserVerbose issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55381#M10804</link>
      <description>&lt;P&gt;[OXRSTEST3] &lt;BR /&gt;
MAX_DAYS_AGO = 2500 &lt;BR /&gt;
SHOULD_LINEMERGE = FALSE &lt;BR /&gt;
MUST_BREAK_AFTER = "|[^|]$" &lt;BR /&gt;
BREAK_ONLY_BEFORE = s^d+4-d+-d+s+d+:&lt;/P&gt;

&lt;P&gt;MAX_DAY_PREVIOUS was the issue why it didn't work.  Changing it to MAX_DAYS_AGO resolved the issue&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:21:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DateParserVerbose-issue/m-p/55381#M10804</guid>
      <dc:creator>gnovak</dc:creator>
      <dc:date>2020-09-28T10:21:26Z</dc:date>
    </item>
  </channel>
</rss>

