<?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 Changing time format in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Changing-time-format/m-p/291599#M3650</link>
    <description>&lt;P&gt;Currently I'm using a stats command to populate a few fields along with time.&lt;BR /&gt;
The command is as follows,&lt;BR /&gt;
 stats values(session_id) as Session &lt;STRONG&gt;values(_time) as Time&lt;/STRONG&gt;  values(action) as Action_Performed values(success) as Rate by usage&lt;/P&gt;

&lt;P&gt;Here I get &lt;STRONG&gt;Time&lt;/STRONG&gt; in a strange format , like 1515424081.&lt;BR /&gt;
Is there any way to change the format to something readable ?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 17:31:20 GMT</pubDate>
    <dc:creator>zacksoft</dc:creator>
    <dc:date>2020-09-29T17:31:20Z</dc:date>
    <item>
      <title>Changing time format</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Changing-time-format/m-p/291599#M3650</link>
      <description>&lt;P&gt;Currently I'm using a stats command to populate a few fields along with time.&lt;BR /&gt;
The command is as follows,&lt;BR /&gt;
 stats values(session_id) as Session &lt;STRONG&gt;values(_time) as Time&lt;/STRONG&gt;  values(action) as Action_Performed values(success) as Rate by usage&lt;/P&gt;

&lt;P&gt;Here I get &lt;STRONG&gt;Time&lt;/STRONG&gt; in a strange format , like 1515424081.&lt;BR /&gt;
Is there any way to change the format to something readable ?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:31:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Changing-time-format/m-p/291599#M3650</guid>
      <dc:creator>zacksoft</dc:creator>
      <dc:date>2020-09-29T17:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Changing time format</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Changing-time-format/m-p/291600#M3651</link>
      <description>&lt;P&gt;hey @zacksoft&lt;/P&gt;

&lt;P&gt;try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;your_base_query&amp;gt; |stats values(session_id) as Session values(_time) as Time values(action) as Action_Performed values(success) as Rate by usage | eval c_time=strftime(Time,"%m/%d/%y %H:%M:%S")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if it works!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 11:08:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Changing-time-format/m-p/291600#M3651</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-09T11:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Changing time format</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Changing-time-format/m-p/291601#M3652</link>
      <description>&lt;P&gt;@mayurr98 Perfecto   !!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 11:17:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Changing-time-format/m-p/291601#M3652</guid>
      <dc:creator>zacksoft</dc:creator>
      <dc:date>2018-01-09T11:17:54Z</dc:date>
    </item>
  </channel>
</rss>

