<?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  outputted time (epoch) to readable Date/time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Convert-outputted-time-epoch-to-readable-Date-time/m-p/77832#M19683</link>
    <description>&lt;P&gt;Convert it to some time format you prefer using &lt;CODE&gt;eval&lt;/CODE&gt; and &lt;CODE&gt;strftime&lt;/CODE&gt;. "&lt;CODE&gt;%+&lt;/CODE&gt;" is often a good quick format modifier for getting a readable timestamp.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="adloader" | stats min(_time) AS earliest max(_time) AS latest by TransactionID | eval duration=latest-earliest | eval earliest=strftime(earliest,"%+") | table TransactionID earliest duration
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 24 Feb 2012 13:55:17 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2012-02-24T13:55:17Z</dc:date>
    <item>
      <title>Convert  outputted time (epoch) to readable Date/time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Convert-outputted-time-epoch-to-readable-Date-time/m-p/77831#M19682</link>
      <description>&lt;P&gt;sure this is very similar to other questions but I have not been able to apply any of the suggestions successfully.&lt;/P&gt;

&lt;P&gt;Search as follows:&lt;BR /&gt;
 sourcetype="adloader" | stats min(_time) AS earliest max(_time) AS latest by TransactionID | eval duration=latest-earliest | fields - latest &lt;/P&gt;

&lt;P&gt;output&lt;/P&gt;

&lt;P&gt;TransactionID - earliest - duration&lt;/P&gt;

&lt;P&gt;21354ewer12 - 1330088785.771 - 1.954&lt;/P&gt;

&lt;P&gt;how can I convert the earliest column to proper date/time format.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:26:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Convert-outputted-time-epoch-to-readable-Date-time/m-p/77831#M19682</guid>
      <dc:creator>gerald_huddlest</dc:creator>
      <dc:date>2020-09-28T11:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Convert  outputted time (epoch) to readable Date/time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Convert-outputted-time-epoch-to-readable-Date-time/m-p/77832#M19683</link>
      <description>&lt;P&gt;Convert it to some time format you prefer using &lt;CODE&gt;eval&lt;/CODE&gt; and &lt;CODE&gt;strftime&lt;/CODE&gt;. "&lt;CODE&gt;%+&lt;/CODE&gt;" is often a good quick format modifier for getting a readable timestamp.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="adloader" | stats min(_time) AS earliest max(_time) AS latest by TransactionID | eval duration=latest-earliest | eval earliest=strftime(earliest,"%+") | table TransactionID earliest duration
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Feb 2012 13:55:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Convert-outputted-time-epoch-to-readable-Date-time/m-p/77832#M19683</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-02-24T13:55:17Z</dc:date>
    </item>
  </channel>
</rss>

