<?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: Getting the Date for the max() value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-Date-for-the-max-value/m-p/580376#M202217</link>
    <description>&lt;P&gt;Ah. I see. Thanks very much. I added table to the query and it appears all is well. Many thanks here!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Final Query:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="modulussplunk_0-1641754833770.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17461iC555579BF5B2B820/image-size/medium?v=v2&amp;amp;px=400" role="button" title="modulussplunk_0-1641754833770.png" alt="modulussplunk_0-1641754833770.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 09 Jan 2022 19:00:40 GMT</pubDate>
    <dc:creator>modulussplunk</dc:creator>
    <dc:date>2022-01-09T19:00:40Z</dc:date>
    <item>
      <title>Getting the Date for the max() value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-Date-for-the-max-value/m-p/580347#M202199</link>
      <description>&lt;P&gt;Howdy I have a search like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="modulussplunk_0-1641668543314.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17456iE2DE0C1DEF32E600/image-size/medium?v=v2&amp;amp;px=400" role="button" title="modulussplunk_0-1641668543314.png" alt="modulussplunk_0-1641668543314.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Everything is great!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would it be possible to add a column that contains the timestamp for max(seconds) ?&lt;/P&gt;&lt;P&gt;I've googled and even tried out some solutions I found here but can't quite get it...&lt;/P&gt;&lt;P&gt;(i.e If I try to add "by host, _time" I get ALL the results).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jan 2022 19:06:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-Date-for-the-max-value/m-p/580347#M202199</guid>
      <dc:creator>modulussplunk</dc:creator>
      <dc:date>2022-01-08T19:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Date for the max() value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-Date-for-the-max-value/m-p/580352#M202201</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eventstats max(seconds) as max median(seconds) as median ... by host
| where seconds=max&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 08 Jan 2022 22:42:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-Date-for-the-max-value/m-p/580352#M202201</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-01-08T22:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Date for the max() value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-Date-for-the-max-value/m-p/580353#M202202</link>
      <description>&lt;P&gt;Thanks so much. But it no longer shows any stats..&lt;/P&gt;&lt;P&gt;Do you want eventstats to replace stats entirely or pipe the whole previous search into eventstats as you list it below?&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jan 2022 00:11:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-Date-for-the-max-value/m-p/580353#M202202</guid>
      <dc:creator>modulussplunk</dc:creator>
      <dc:date>2022-01-09T00:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Date for the max() value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-Date-for-the-max-value/m-p/580360#M202208</link>
      <description>&lt;P&gt;Eventstats replaces the stats - the ... means put the other stats in here too - that is, just replace stats with eventstats and then pipe to the where command&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jan 2022 09:57:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-Date-for-the-max-value/m-p/580360#M202208</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-01-09T09:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Date for the max() value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-Date-for-the-max-value/m-p/580376#M202217</link>
      <description>&lt;P&gt;Ah. I see. Thanks very much. I added table to the query and it appears all is well. Many thanks here!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Final Query:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="modulussplunk_0-1641754833770.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17461iC555579BF5B2B820/image-size/medium?v=v2&amp;amp;px=400" role="button" title="modulussplunk_0-1641754833770.png" alt="modulussplunk_0-1641754833770.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jan 2022 19:00:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-Date-for-the-max-value/m-p/580376#M202217</guid>
      <dc:creator>modulussplunk</dc:creator>
      <dc:date>2022-01-09T19:00:40Z</dc:date>
    </item>
  </channel>
</rss>

