<?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 the splunk query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530479#M149876</link>
    <description>&lt;P&gt;Which method did you try?&amp;nbsp; Please share the full query that didn't work.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Nov 2020 18:17:08 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-11-23T18:17:08Z</dc:date>
    <item>
      <title>How to convert epoch time to human readable format in the splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530432#M149868</link>
      <description>&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Could someone please help me convert epoch time to human readable time?&lt;/P&gt;&lt;P&gt;"Date":1605030538646&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Nov 2020 15:37:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530432#M149868</guid>
      <dc:creator>Supriya</dc:creator>
      <dc:date>2020-11-23T15:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert epoch time to human readable format in the splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530440#M149869</link>
      <description>&lt;P&gt;There are a couple of ways to convert epoch time into a human-readable format, but first you must start with epoch time in seconds rather than milliseconds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;... | eval humanTime = strftime(_time/1000, "%c")&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;... | eval timeinsecs = time/1000
| convert ctime(timeinsecs) as humanTime&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 13:31:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530440#M149869</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-11-24T13:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert epoch time to human readable format in the splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530448#M149872</link>
      <description>&lt;P&gt;Thank you for the response,&lt;/P&gt;&lt;P&gt;But, It didn't help me, no output is shown.&lt;/P&gt;&lt;P&gt;I think (1605030538646)its a combination of Date and time&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 15:38:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530448#M149872</guid>
      <dc:creator>Supriya</dc:creator>
      <dc:date>2020-11-23T15:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert epoch time to human readable format in the splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530479#M149876</link>
      <description>&lt;P&gt;Which method did you try?&amp;nbsp; Please share the full query that didn't work.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 18:17:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530479#M149876</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-11-23T18:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert epoch time to human readable format in the splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530532#M149884</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;please find the below results:&lt;/P&gt;&lt;P&gt;index="index" sourcetype="Logs"|spath path="results{}.creationDate" output=CreationDate|eval time= CreationDate/1000|convert ctime(time) as humanTime |spath path="results{}.summary" output=Summary | spath path="results{}.description" output=Description | table humanTime ,Summary, Description&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Supriya_1-1606203374825.png" style="width: 663px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12030i5C3B3A870546F74D/image-dimensions/663x206?v=v2" width="663" height="206" role="button" title="Supriya_1-1606203374825.png" alt="Supriya_1-1606203374825.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Nov 2020 07:42:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530532#M149884</guid>
      <dc:creator>Supriya</dc:creator>
      <dc:date>2020-11-24T07:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert epoch time to human readable format in the splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530534#M149885</link>
      <description>&lt;P&gt;index="index" sourcetype="Logs"|spath path="results{}.creationDate" output=CreationDate|eval time= CreationDate/1000|eval humanTime = strftime(CreatedDate/1000', "%c")|spath path="results{}.summary" output=Summary | spath path="results{}.description" output=Description | table humanTime ,Summary, Description&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Supriya_0-1606203993863.png" style="width: 686px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12031i04DD242B89AB1D51/image-dimensions/686x211?v=v2" width="686" height="211" role="button" title="Supriya_0-1606203993863.png" alt="Supriya_0-1606203993863.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 07:46:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530534#M149885</guid>
      <dc:creator>Supriya</dc:creator>
      <dc:date>2020-11-24T07:46:44Z</dc:date>
    </item>
    <item>
      <title>yourRe: How to convert epoch time to human readable format in the splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530566#M149890</link>
      <description>&lt;P&gt;your log is JSON. your Date field is multi-value, I guess.&lt;BR /&gt;eval can't go.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 10:27:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530566#M149890</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-11-24T10:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert epoch time to human readable format in the splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530594#M149897</link>
      <description>&lt;P&gt;My answer gave two different ways to convert epochs to human-readable times.&amp;nbsp; Use one or the other, but not both, in a query.&lt;/P&gt;&lt;P&gt;The command &lt;FONT face="courier new,courier"&gt;convert ctime(time) as humanTime&lt;/FONT&gt; uses a field (time) that doesn't exist so the result will be null.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 13:30:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530594#M149897</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-11-24T13:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert epoch time to human readable format in the splunk query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530598#M149898</link>
      <description>&lt;P&gt;My answer gave two different ways to convert epochs to human-readable times.&amp;nbsp; Use one or the other, but not both, in a query.&lt;/P&gt;&lt;P&gt;The command &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;eval humanTime = strftime(CreatedDate/1000', "%c")&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;uses a field (CreatedDate) that doesn't exist so the result will be null.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 13:32:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-time-to-human-readable-format-in-the-splunk/m-p/530598#M149898</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-11-24T13:32:34Z</dc:date>
    </item>
  </channel>
</rss>

