<?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: Using subsearches to get highest value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Using-subsearches-to-get-highest-value/m-p/141812#M39312</link>
    <description>&lt;P&gt;You can use eventstats:&lt;/P&gt;

&lt;P&gt;index=_internal |  eventstats max(date_second) AS MAX min(date_second) as MIN   | table date_second,MAX,MIN&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 18:53:32 GMT</pubDate>
    <dc:creator>mzorzi</dc:creator>
    <dc:date>2020-09-28T18:53:32Z</dc:date>
    <item>
      <title>Using subsearches to get highest value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-subsearches-to-get-highest-value/m-p/141810#M39310</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
I have a search that tables certain values from my data fields, although i wish to create a new field on all events called Maximum that gets the latest value of a field called max and another called min&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 12:50:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-subsearches-to-get-highest-value/m-p/141810#M39310</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-02-11T12:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using subsearches to get highest value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-subsearches-to-get-highest-value/m-p/141811#M39311</link>
      <description>&lt;P&gt;Could you provide the search and if possible some sample data?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 12:59:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-subsearches-to-get-highest-value/m-p/141811#M39311</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-02-11T12:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using subsearches to get highest value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-subsearches-to-get-highest-value/m-p/141812#M39312</link>
      <description>&lt;P&gt;You can use eventstats:&lt;/P&gt;

&lt;P&gt;index=_internal |  eventstats max(date_second) AS MAX min(date_second) as MIN   | table date_second,MAX,MIN&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:53:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-subsearches-to-get-highest-value/m-p/141812#M39312</guid>
      <dc:creator>mzorzi</dc:creator>
      <dc:date>2020-09-28T18:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using subsearches to get highest value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-subsearches-to-get-highest-value/m-p/141813#M39313</link>
      <description>&lt;P&gt;Hi mzorzi,&lt;/P&gt;

&lt;P&gt;Thanks for your response.&lt;/P&gt;

&lt;P&gt;I used eventstats but I also wanted to get values from the search and table them as well.&lt;BR /&gt;
Do you know how?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 13:09:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-subsearches-to-get-highest-value/m-p/141813#M39313</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-02-11T13:09:36Z</dc:date>
    </item>
  </channel>
</rss>

