<?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: microseconds in time range of search in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/microseconds-in-time-range-of-search/m-p/43700#M8158</link>
    <description>&lt;P&gt;I would extract the nanoseconds and then search based on them:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | stats count |  eval text="2013-02-13:22:09:43.687223" | rex field=text "\d+\-\d+\-\d+\:\d+\:\d+\:\d+\.(?&amp;lt;nanoseconds&amp;gt;\d+)" | search nanoseconds&amp;gt;687222

 | stats count |  eval text="2013-02-13:22:09:43.687223" | rex field=text "\d+\-\d+\-\d+\:\d+\:\d+\:\d+\.(?&amp;lt;nanoseconds&amp;gt;\d+)" | search nanoseconds&amp;gt;687223
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 24 Oct 2014 23:19:21 GMT</pubDate>
    <dc:creator>bshuler_splunk</dc:creator>
    <dc:date>2014-10-24T23:19:21Z</dc:date>
    <item>
      <title>microseconds in time range of search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/microseconds-in-time-range-of-search/m-p/43699#M8157</link>
      <description>&lt;P&gt;Hi, i have events with microseconds in timestamp, for example 2013-02-13:22:09:43.687263.&lt;BR /&gt;
I see that in custom time setting, in the time range picker of search app, is possible to use only milliseconds, so in my search i lose some events which have difference of microceconds in timestamp.&lt;/P&gt;

&lt;P&gt;i have used earliest and latest time modifiers at search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype = mysourcetype  timeformat="%Y-%m-%d:%H:%M:%S.%6N" earliest="2013-02-13:22:09:43.687223" latest="2013-02-13:22:09:43.687413"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to find events (financial transactions) between the two timestamps, but this search give me no results. In fact in search job inspector i see this:&lt;/P&gt;

&lt;P&gt;searchEarliestTime  1360789783.687000000&lt;/P&gt;

&lt;P&gt;searchLatestTime    1360789783.687000000&lt;/P&gt;

&lt;P&gt;so microseconds are not used by search...&lt;/P&gt;

&lt;P&gt;Is possible to use microseconds in time range? How?&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2013 08:40:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/microseconds-in-time-range-of-search/m-p/43699#M8157</guid>
      <dc:creator>my_splunk</dc:creator>
      <dc:date>2013-05-23T08:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: microseconds in time range of search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/microseconds-in-time-range-of-search/m-p/43700#M8158</link>
      <description>&lt;P&gt;I would extract the nanoseconds and then search based on them:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | stats count |  eval text="2013-02-13:22:09:43.687223" | rex field=text "\d+\-\d+\-\d+\:\d+\:\d+\:\d+\.(?&amp;lt;nanoseconds&amp;gt;\d+)" | search nanoseconds&amp;gt;687222

 | stats count |  eval text="2013-02-13:22:09:43.687223" | rex field=text "\d+\-\d+\-\d+\:\d+\:\d+\:\d+\.(?&amp;lt;nanoseconds&amp;gt;\d+)" | search nanoseconds&amp;gt;687223
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Oct 2014 23:19:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/microseconds-in-time-range-of-search/m-p/43700#M8158</guid>
      <dc:creator>bshuler_splunk</dc:creator>
      <dc:date>2014-10-24T23:19:21Z</dc:date>
    </item>
  </channel>
</rss>

