<?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 Timestamp preview different than timestamp in search in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-preview-different-than-timestamp-in-search/m-p/53679#M10361</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;

&lt;P&gt;Simply put, I can successfully detect the timestamp of an event while in preview mode&lt;BR /&gt;
&lt;A href="http://imgur.com/45IF3bQ,Fq7UfjS#0"&gt;During Preview&lt;/A&gt;  (note the event time distribution in the right corner)&lt;/P&gt;

&lt;P&gt;But when I begin searching the data, the timestamp is replaced by the current date and each event has a timestamp=none &lt;A href="http://imgur.com/45IF3bQ,Fq7UfjS#1"&gt;In Search&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Can someone hint at what I might be doing wrong?&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2013 22:31:35 GMT</pubDate>
    <dc:creator>gunderjt</dc:creator>
    <dc:date>2013-03-06T22:31:35Z</dc:date>
    <item>
      <title>Timestamp preview different than timestamp in search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-preview-different-than-timestamp-in-search/m-p/53679#M10361</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;

&lt;P&gt;Simply put, I can successfully detect the timestamp of an event while in preview mode&lt;BR /&gt;
&lt;A href="http://imgur.com/45IF3bQ,Fq7UfjS#0"&gt;During Preview&lt;/A&gt;  (note the event time distribution in the right corner)&lt;/P&gt;

&lt;P&gt;But when I begin searching the data, the timestamp is replaced by the current date and each event has a timestamp=none &lt;A href="http://imgur.com/45IF3bQ,Fq7UfjS#1"&gt;In Search&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Can someone hint at what I might be doing wrong?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2013 22:31:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-preview-different-than-timestamp-in-search/m-p/53679#M10361</guid>
      <dc:creator>gunderjt</dc:creator>
      <dc:date>2013-03-06T22:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp preview different than timestamp in search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-preview-different-than-timestamp-in-search/m-p/53680#M10362</link>
      <description>&lt;P&gt;Hi gunderjt,&lt;/P&gt;

&lt;P&gt;I can see that your source type has TIME_FORMAT set, but does it also have a TIME_PREFIX value set.  This is usually found in your props.conf, usually in /opt/splunk/etc/system/local/.  You could also set the BREAK_ONLY_BEFORE_DATE = true option and see if this corrects the issue.&lt;/P&gt;

&lt;P&gt;Please feel free to post the entry for the props.conf file, and I would be happy to take a look at it.&lt;/P&gt;

&lt;P&gt;Lastly, when you are setting up the sourcetype through manual import, there is the Timestamps tab which can also perform these changes for you.&lt;/P&gt;

&lt;P&gt;Please let me know if you have any questions.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Vince&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:27:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-preview-different-than-timestamp-in-search/m-p/53680#M10362</guid>
      <dc:creator>vincesesto</dc:creator>
      <dc:date>2020-09-28T13:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp preview different than timestamp in search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-preview-different-than-timestamp-in-search/m-p/53681#M10363</link>
      <description>&lt;P&gt;Thank you for you help Vince,&lt;/P&gt;

&lt;P&gt;I don't have a TIME_PREFIX as the timestamp is the first half a dozen characters in an event.  I also put the "BREAK_ONLY_BEFORE_DATE = true" command into the props.conf file.  But to no avail.  &lt;/P&gt;

&lt;P&gt;Here is the props.conf sourcetype:  &lt;/P&gt;

&lt;P&gt;[DoIt1]&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE = true&lt;BR /&gt;
CHECK_FOR_HEADER = true&lt;BR /&gt;
KV_MODE = none&lt;BR /&gt;
MAX_DAYS_AGO = 10900&lt;BR /&gt;
NO_BINARY_CHECK = 1&lt;BR /&gt;
SHOULD_LINEMERGE = False&lt;BR /&gt;
TIME_FORMAT = %m/%d/%Y&lt;BR /&gt;
pulldown_type = 1&lt;/P&gt;

&lt;P&gt;Like I said, during the preview when I'm setting up my timestamp configuration, it works just fine, but breaks in the search app.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:28:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-preview-different-than-timestamp-in-search/m-p/53681#M10363</guid>
      <dc:creator>gunderjt</dc:creator>
      <dc:date>2020-09-28T13:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp preview different than timestamp in search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-preview-different-than-timestamp-in-search/m-p/53682#M10364</link>
      <description>&lt;P&gt;Hi Gunderjt,&lt;/P&gt;

&lt;P&gt;Yeah, I typed out sample data from the images you posted and had the same issue.  I think that splunk may have been getting confused with the multiple date values in the event and as a result, could not decide how to set the date correctly.&lt;/P&gt;

&lt;P&gt;Either way, I have been able to get it to work by adding the TIME_PREFIX option set to the start of the line(^), and have got the following props config top work:&lt;BR /&gt;
[DoIt1]&lt;BR /&gt;
MAX_DAYS_AGO = 10900&lt;BR /&gt;
NO_BINARY_CHECK = 1&lt;BR /&gt;
TIME_PREFIX = ^&lt;BR /&gt;
pulldown_type = 1&lt;/P&gt;

&lt;P&gt;I hope this works for you and if not...let me know and I will try to find a different way around this.&lt;/P&gt;

&lt;P&gt;Regards, Vince&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:28:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-preview-different-than-timestamp-in-search/m-p/53682#M10364</guid>
      <dc:creator>vincesesto</dc:creator>
      <dc:date>2020-09-28T13:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp preview different than timestamp in search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-preview-different-than-timestamp-in-search/m-p/53683#M10365</link>
      <description>&lt;P&gt;That did it!  Thanks a lot &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2013 02:44:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-preview-different-than-timestamp-in-search/m-p/53683#M10365</guid>
      <dc:creator>gunderjt</dc:creator>
      <dc:date>2013-03-08T02:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp preview different than timestamp in search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-preview-different-than-timestamp-in-search/m-p/53684#M10366</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a very similar issue too. I have posted it in &lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/233542/timestamp-preview-different-than-timestamp-in-sear.html" target="_blank"&gt;http://answers.splunk.com/answers/233542/timestamp-preview-different-than-timestamp-in-sear.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The solution you gave did not work for me. I tried the time_prefix values &lt;BR /&gt;
TIME_PREFIX=^\"timestamp\":\s\"&lt;BR /&gt;
TIME_PREFIX="timestamp": &lt;BR /&gt;
Nothing so far, any clues?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:47:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-preview-different-than-timestamp-in-search/m-p/53684#M10366</guid>
      <dc:creator>hvaithia</dc:creator>
      <dc:date>2020-09-28T19:47:42Z</dc:date>
    </item>
  </channel>
</rss>

