<?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: Convert Epoch timestamp in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Convert-Epoch-timestamp/m-p/113075#M23673</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Are you using the time in millisecond format? Please see following time comparison:&lt;BR /&gt;
1427110824 - Epoch time for today&lt;BR /&gt;
1395740497550&lt;/P&gt;

&lt;P&gt;If you divide endtime by 1000, it should work fine.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 23 Mar 2015 11:42:29 GMT</pubDate>
    <dc:creator>vganjare</dc:creator>
    <dc:date>2015-03-23T11:42:29Z</dc:date>
    <item>
      <title>Convert Epoch timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Convert-Epoch-timestamp/m-p/113074#M23672</link>
      <description>&lt;P&gt;I am trying to convert epoch timestamp of stopTime into %m/%d/%Y %H:%M:%S , but I am getting 12/31/9999 23:59:59 &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"traceId":xxxxx,"startTime":1395740488120,"stopTime":1395740497550
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is what I am using - &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rex "^(?:[^:\n]*:){3}(?P&amp;lt;endtime&amp;gt;\d+)" | eval StopTime=strftime(endtime, "%m/%d/%Y %H:%M:%S")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Could someone please let me know what could be the problem?&lt;/P&gt;

&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2015 11:29:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Convert-Epoch-timestamp/m-p/113074#M23672</guid>
      <dc:creator>satishsdange</dc:creator>
      <dc:date>2015-03-23T11:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Epoch timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Convert-Epoch-timestamp/m-p/113075#M23673</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Are you using the time in millisecond format? Please see following time comparison:&lt;BR /&gt;
1427110824 - Epoch time for today&lt;BR /&gt;
1395740497550&lt;/P&gt;

&lt;P&gt;If you divide endtime by 1000, it should work fine.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2015 11:42:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Convert-Epoch-timestamp/m-p/113075#M23673</guid>
      <dc:creator>vganjare</dc:creator>
      <dc:date>2015-03-23T11:42:29Z</dc:date>
    </item>
  </channel>
</rss>

