<?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: Unable to extract Time in search results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-extract-Time-in-search-results/m-p/502770#M139911</link>
    <description>&lt;P&gt;I am able to do so with below command&lt;/P&gt;

&lt;P&gt;eval time=strftime(Time,"%m/%d/%y")&lt;/P&gt;</description>
    <pubDate>Tue, 24 Mar 2020 17:50:19 GMT</pubDate>
    <dc:creator>ramprakash</dc:creator>
    <dc:date>2020-03-24T17:50:19Z</dc:date>
    <item>
      <title>Unable to extract Time in search results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-extract-Time-in-search-results/m-p/502767#M139908</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have proper timestamp logs in Splunk. I am able to extract time for all the searches except one.&lt;/P&gt;

&lt;P&gt;index =&lt;EM&gt;mtp&lt;/EM&gt; | stats count by Activity user&lt;/P&gt;

&lt;P&gt;when i need count for these two fields, i am getting the result but not Time.&lt;/P&gt;

&lt;P&gt;Can someone please suggest.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 16:49:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-extract-Time-in-search-results/m-p/502767#M139908</guid>
      <dc:creator>ramprakash</dc:creator>
      <dc:date>2020-03-24T16:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to extract Time in search results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-extract-Time-in-search-results/m-p/502768#M139909</link>
      <description>&lt;P&gt;The &lt;CODE&gt;stats&lt;/CODE&gt; command discards all fields except those used in the command itself.  In your example, only 'count', 'Activity', and 'user' will be available for use after &lt;CODE&gt;stats&lt;/CODE&gt;.  Depending on how you intend to use Time, try one of &lt;CODE&gt;stats count, values(_time) as Time by Activity, user&lt;/CODE&gt; or &lt;CODE&gt;stats count, latest(_time) as Time by Activity, user&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 17:02:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-extract-Time-in-search-results/m-p/502768#M139909</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-03-24T17:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to extract Time in search results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-extract-Time-in-search-results/m-p/502769#M139910</link>
      <description>&lt;P&gt;Hey Thanks it worked but i am getting time in below format.&lt;/P&gt;

&lt;P&gt;Activity&lt;BR /&gt;
user&lt;BR /&gt;
count&lt;BR /&gt;
Time&lt;BR /&gt;
accueil AD161   2   &lt;STRONG&gt;1585034778.911&lt;/STRONG&gt;&lt;BR /&gt;
accueil DRA4D   4   &lt;STRONG&gt;1584974193.304&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 17:41:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-extract-Time-in-search-results/m-p/502769#M139910</guid>
      <dc:creator>ramprakash</dc:creator>
      <dc:date>2020-03-24T17:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to extract Time in search results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-extract-Time-in-search-results/m-p/502770#M139911</link>
      <description>&lt;P&gt;I am able to do so with below command&lt;/P&gt;

&lt;P&gt;eval time=strftime(Time,"%m/%d/%y")&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 17:50:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-extract-Time-in-search-results/m-p/502770#M139911</guid>
      <dc:creator>ramprakash</dc:creator>
      <dc:date>2020-03-24T17:50:19Z</dc:date>
    </item>
  </channel>
</rss>

