<?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 [Beginner] timestamp in microseconds since boot in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Beginner-timestamp-in-microseconds-since-boot/m-p/21447#M3522</link>
    <description>&lt;P&gt;Just downloaded Splunk on my laptop and am trying it out on a log file.&lt;BR /&gt;
I am at: Home » Add data » Files &amp;amp; directories » Data preview&lt;/P&gt;

&lt;P&gt;Each line in the log looks like this:&lt;BR /&gt;
EVENT:   code_point  Label: 0x12345678 Handle: 0x98760abc STAMP:  784523000.&lt;/P&gt;

&lt;P&gt;The timestamp is at the end (and ends with a dot), and the value is "microseconds since boot".&lt;/P&gt;

&lt;P&gt;I can't figure out the right combination of preface and strptime patterns to get Splunk to parse my timestamps. Suggestions?&lt;/P&gt;</description>
    <pubDate>Fri, 02 Nov 2012 13:33:12 GMT</pubDate>
    <dc:creator>HenryVIII</dc:creator>
    <dc:date>2012-11-02T13:33:12Z</dc:date>
    <item>
      <title>[Beginner] timestamp in microseconds since boot</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Beginner-timestamp-in-microseconds-since-boot/m-p/21447#M3522</link>
      <description>&lt;P&gt;Just downloaded Splunk on my laptop and am trying it out on a log file.&lt;BR /&gt;
I am at: Home » Add data » Files &amp;amp; directories » Data preview&lt;/P&gt;

&lt;P&gt;Each line in the log looks like this:&lt;BR /&gt;
EVENT:   code_point  Label: 0x12345678 Handle: 0x98760abc STAMP:  784523000.&lt;/P&gt;

&lt;P&gt;The timestamp is at the end (and ends with a dot), and the value is "microseconds since boot".&lt;/P&gt;

&lt;P&gt;I can't figure out the right combination of preface and strptime patterns to get Splunk to parse my timestamps. Suggestions?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2012 13:33:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Beginner-timestamp-in-microseconds-since-boot/m-p/21447#M3522</guid>
      <dc:creator>HenryVIII</dc:creator>
      <dc:date>2012-11-02T13:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: [Beginner] timestamp in microseconds since boot</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Beginner-timestamp-in-microseconds-since-boot/m-p/21448#M3523</link>
      <description>&lt;P&gt;I suggest that since "boot time" is a moving target, there will be no way for Splunk to come up with an absolute time stamp for that event. In this instance, Splunk will default to "now" for the event time for that log line. You can still search for the value of the STAMP field, and obtain other useful insights, but knowing exactly when in time that event occurred may not be possible.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2012 13:50:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Beginner-timestamp-in-microseconds-since-boot/m-p/21448#M3523</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2012-11-02T13:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: [Beginner] timestamp in microseconds since boot</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Beginner-timestamp-in-microseconds-since-boot/m-p/21449#M3524</link>
      <description>&lt;P&gt;OK, but my first problem is that Splunk is not recognizing the timestamps at all. Splunk gives every entry a timestamp of the file creation time, even though the last entry occurred an hour after the first.&lt;/P&gt;

&lt;P&gt;I could seed the log with an entry that gives the absolute time when boot happened. What format should I use for this seed entry? And how do I get Splunk to read the STAMP: field as a microsecond offset from the seed?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2012 16:48:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Beginner-timestamp-in-microseconds-since-boot/m-p/21449#M3524</guid>
      <dc:creator>HenryVIII</dc:creator>
      <dc:date>2012-11-02T16:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: [Beginner] timestamp in microseconds since boot</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Beginner-timestamp-in-microseconds-since-boot/m-p/21450#M3525</link>
      <description>&lt;P&gt;It's not recognizing time stamps because to its way of thinking there aren't any. You mentioned that you're indexing an existing log file. In this instance, yes, you're right that Splunk will set the event time to be the last modification time of the file. If you're monitoring a live (i.e. changing) file, if Splunk can't find a full time stamp for the event, it will use "now" as the event time of that new line.&lt;/P&gt;

&lt;P&gt;I don't know of a way to treat the stamp in a single event as an offset from a seed time.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2012 16:59:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Beginner-timestamp-in-microseconds-since-boot/m-p/21450#M3525</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2012-11-02T16:59:33Z</dc:date>
    </item>
  </channel>
</rss>

