<?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 19 digit epoch time not being honored in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/19-digit-epoch-time-not-being-honored/m-p/696170#M10241</link>
    <description>&lt;P&gt;I have a field called eventtime in my logs, but the time is 19 characters long in epoch time (which goes to nanoseconds).&amp;nbsp; The field is in the middle of the events, but I want to use it as the timestamp.&amp;nbsp; However, when I, through the UI, define the TIME_PREFIX, it won't recognize it.&amp;nbsp; However, there is another field that also has epoch time, but only 10 characters.&amp;nbsp; When I use it, it works...just doesn't give me the nanoseconds.&amp;nbsp; So, it's not a syntax issue.&amp;nbsp; There are no periods in the timestamp.&amp;nbsp; How can I fix this - using the UI for testing is easier to get feedback, but if I need to modify it in props.conf, that's fine?&lt;/P&gt;&lt;P&gt;Additional context:&lt;/P&gt;&lt;P&gt;The data comes in in json format, but only uses single quotes.&amp;nbsp; I fixed this by using sedcmd in props.conf to swap the single quote with double quotes.&amp;nbsp; In the TIME_PREFIX box (again, in the UI), I used single quotes as double quotes didn't work (which makes sense).&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;'eventtime'&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;'&lt;/SPAN&gt;&lt;SPAN class=""&gt;1707613171105400540'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;'itime_t'&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;1707613170'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2024 17:33:34 GMT</pubDate>
    <dc:creator>jtm7x2</dc:creator>
    <dc:date>2024-08-13T17:33:34Z</dc:date>
    <item>
      <title>19 digit epoch time not being honored</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/19-digit-epoch-time-not-being-honored/m-p/696170#M10241</link>
      <description>&lt;P&gt;I have a field called eventtime in my logs, but the time is 19 characters long in epoch time (which goes to nanoseconds).&amp;nbsp; The field is in the middle of the events, but I want to use it as the timestamp.&amp;nbsp; However, when I, through the UI, define the TIME_PREFIX, it won't recognize it.&amp;nbsp; However, there is another field that also has epoch time, but only 10 characters.&amp;nbsp; When I use it, it works...just doesn't give me the nanoseconds.&amp;nbsp; So, it's not a syntax issue.&amp;nbsp; There are no periods in the timestamp.&amp;nbsp; How can I fix this - using the UI for testing is easier to get feedback, but if I need to modify it in props.conf, that's fine?&lt;/P&gt;&lt;P&gt;Additional context:&lt;/P&gt;&lt;P&gt;The data comes in in json format, but only uses single quotes.&amp;nbsp; I fixed this by using sedcmd in props.conf to swap the single quote with double quotes.&amp;nbsp; In the TIME_PREFIX box (again, in the UI), I used single quotes as double quotes didn't work (which makes sense).&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;'eventtime'&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;'&lt;/SPAN&gt;&lt;SPAN class=""&gt;1707613171105400540'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;'itime_t'&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;1707613170'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 17:33:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/19-digit-epoch-time-not-being-honored/m-p/696170#M10241</guid>
      <dc:creator>jtm7x2</dc:creator>
      <dc:date>2024-08-13T17:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: 19 digit epoch time not being honored</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/19-digit-epoch-time-not-being-honored/m-p/696202#M10242</link>
      <description>&lt;P&gt;Have you tried setting TIME_FORMAT in props.conf, e.g.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TIME_FORMAT = %s%9Q&lt;/LI-CODE&gt;&lt;P&gt;I suspect you won't get nanoseconds, but you should get microseconds, for example this can get microseconds&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval tf="1707613171105412540"
| eval t=strptime(tf, "%s%9Q")&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 13 Aug 2024 23:24:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/19-digit-epoch-time-not-being-honored/m-p/696202#M10242</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-08-13T23:24:37Z</dc:date>
    </item>
  </channel>
</rss>

