<?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: TIME_FORMAT and subseconds in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-strptime-style-variable-that-TIME-FORMAT-would-use/m-p/12498#M941</link>
    <description>&lt;P&gt;2008-04-25 12:34:56.689 -&amp;gt; %Y-%m-%d %H:%M:%S.%3N&lt;/P&gt;

&lt;P&gt;12:34:56,789012 -&amp;gt; %H:%M:%S,%6N&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Configuretimestamprecognition#Enhanced_strptime.28.29_support" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/Admin/Configuretimestamprecognition#Enhanced_strptime.28.29_support&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2010 02:54:30 GMT</pubDate>
    <dc:creator>gkanapathy</dc:creator>
    <dc:date>2010-04-29T02:54:30Z</dc:date>
    <item>
      <title>What is the strptime-style %-variable that TIME_FORMAT would use for subseconds?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-strptime-style-variable-that-TIME-FORMAT-would-use/m-p/12497#M940</link>
      <description>&lt;P&gt;What is the strptime-style %-variable that TIME_FORMAT would use for subseconds? The docs for props.conf suggest the strptime manpage, but being a time_t (which has only second-level precision) there's no such information there.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 19:40:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-strptime-style-variable-that-TIME-FORMAT-would-use/m-p/12497#M940</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2023-01-16T19:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_FORMAT and subseconds</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-strptime-style-variable-that-TIME-FORMAT-would-use/m-p/12498#M941</link>
      <description>&lt;P&gt;2008-04-25 12:34:56.689 -&amp;gt; %Y-%m-%d %H:%M:%S.%3N&lt;/P&gt;

&lt;P&gt;12:34:56,789012 -&amp;gt; %H:%M:%S,%6N&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Configuretimestamprecognition#Enhanced_strptime.28.29_support" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/Admin/Configuretimestamprecognition#Enhanced_strptime.28.29_support&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2010 02:54:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-strptime-style-variable-that-TIME-FORMAT-would-use/m-p/12498#M941</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-04-29T02:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_FORMAT and subseconds</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-strptime-style-variable-that-TIME-FORMAT-would-use/m-p/12499#M942</link>
      <description>&lt;P&gt;To add detail to gkapanthy's answer, the %3N means you have 3 digits of subseconds (milliseconds) while %6N is microseconds.  You could use %9N for nanoseconds (dtrace uses this granularity, for example).&lt;/P&gt;

&lt;P&gt;We used system strptime at one point, nowadays we have our own implementation which supports a number of common extensions.  All the subsecond conversion strings are equivalent if you specify the number of digits.&lt;/P&gt;

&lt;P&gt;Note that our internal datastructures still store the data by the second, which means if you have very very large numbers of events in the same second (eg. hundreds of thousands), there can be some performance issues when having to sort them.&lt;/P&gt;

&lt;P&gt;EDIT: matteo points out the bit about _time not containing subseconds was incorrect.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2010 14:46:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-strptime-style-variable-that-TIME-FORMAT-would-use/m-p/12499#M942</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2010-04-29T14:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_FORMAT and subseconds</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-strptime-style-variable-that-TIME-FORMAT-would-use/m-p/627105#M107669</link>
      <description>&lt;P&gt;For short:&lt;BR /&gt;YYYY-MM-DD = %F&lt;BR /&gt;HH:MM:SS = %T&lt;BR /&gt;&lt;BR /&gt;Ex.&lt;BR /&gt;TIME_FORMAT=%F %T,%3N&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 20:55:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-strptime-style-variable-that-TIME-FORMAT-would-use/m-p/627105#M107669</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2023-01-13T20:55:35Z</dc:date>
    </item>
  </channel>
</rss>

