<?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: How to Convert epoch time to human readable format? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131900#M35975</link>
    <description>&lt;P&gt;Convert your epoch time from millis to seconds&lt;/P&gt;

&lt;P&gt;... | eval formatted_time=strftime(rt/1000, "%H:%M:%S %d-%m-%Y")&lt;/P&gt;</description>
    <pubDate>Sun, 31 May 2015 10:21:22 GMT</pubDate>
    <dc:creator>Damien_Dallimor</dc:creator>
    <dc:date>2015-05-31T10:21:22Z</dc:date>
    <item>
      <title>How to Convert epoch time to human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131897#M35972</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;

&lt;P&gt;I have the following event:&lt;/P&gt;

&lt;P&gt;"... src=218.2.3.256 act=block app=ips &lt;STRONG&gt;rt=1433065461040&lt;/STRONG&gt; ...."&lt;BR /&gt;
The &lt;STRONG&gt;rt&lt;/STRONG&gt; field is a epoch computer time format.&lt;/P&gt;

&lt;P&gt;Is it possible to convert the "rt" field to a user-friendly format? I searched through some of the other questions but none really addressed this specific question.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 31 May 2015 09:53:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131897#M35972</guid>
      <dc:creator>bugnet</dc:creator>
      <dc:date>2015-05-31T09:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert epoch time to human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131898#M35973</link>
      <description>&lt;P&gt;You can use the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/SearchReference/CommonEvalFunctions"&gt;eval function&lt;/A&gt; strftime &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval formatted_time=strftime(rt/1000, "%H:%M:%S %d-%m-%Y")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 31 May 2015 10:11:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131898#M35973</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-05-31T10:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert epoch time to human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131899#M35974</link>
      <description>&lt;P&gt;Does not work for me .&lt;BR /&gt;
The "formatted_time" always displayed with the same value : 23:59:59 31-12-9999&lt;/P&gt;</description>
      <pubDate>Sun, 31 May 2015 10:17:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131899#M35974</guid>
      <dc:creator>bugnet</dc:creator>
      <dc:date>2015-05-31T10:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert epoch time to human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131900#M35975</link>
      <description>&lt;P&gt;Convert your epoch time from millis to seconds&lt;/P&gt;

&lt;P&gt;... | eval formatted_time=strftime(rt/1000, "%H:%M:%S %d-%m-%Y")&lt;/P&gt;</description>
      <pubDate>Sun, 31 May 2015 10:21:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131900#M35975</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-05-31T10:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert epoch time to human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131901#M35976</link>
      <description>&lt;P&gt;Looks good. How I can do it for all variations of the "rt" numbers?&lt;/P&gt;</description>
      <pubDate>Sun, 31 May 2015 10:31:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131901#M35976</guid>
      <dc:creator>bugnet</dc:creator>
      <dc:date>2015-05-31T10:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert epoch time to human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131902#M35977</link>
      <description>&lt;P&gt;Can you give more examples ?&lt;/P&gt;</description>
      <pubDate>Sun, 31 May 2015 10:36:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131902#M35977</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-05-31T10:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert epoch time to human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131903#M35978</link>
      <description>&lt;P&gt;Its working! &lt;BR /&gt;
Is it possible to do it permanent ?&lt;BR /&gt;
I mean- To calculation it automatically on the "rt" field ?&lt;/P&gt;</description>
      <pubDate>Sun, 31 May 2015 10:43:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131903#M35978</guid>
      <dc:creator>bugnet</dc:creator>
      <dc:date>2015-05-31T10:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert epoch time to human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131904#M35979</link>
      <description>&lt;P&gt;Not sure what you mean but thats what splunk is for ,to transform the fields as you want when creating the reports of the dashboards&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 08:32:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131904#M35979</guid>
      <dc:creator>chamambom</dc:creator>
      <dc:date>2016-03-03T08:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert epoch time to human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131905#M35980</link>
      <description>&lt;P&gt;you need to do a field transform at search or index time - &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.3/Knowledge/Managefieldtransforms"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.3/Knowledge/Managefieldtransforms&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 08:48:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Convert-epoch-time-to-human-readable-format/m-p/131905#M35980</guid>
      <dc:creator>anthonysomerset</dc:creator>
      <dc:date>2016-03-03T08:48:20Z</dc:date>
    </item>
  </channel>
</rss>

