<?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 find min and max per hour during day by host ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-min-and-max-per-hour-during-day-by-host/m-p/307827#M92339</link>
    <description>&lt;P&gt;Hi exmuzzy,&lt;BR /&gt;
let me understand: do you want max in a column and min in another one?&lt;BR /&gt;
if this is your requirement delete the transpose command!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=_internal 
  | timechart span=1h count by host
  | stats max(*) AS *."max", min(*) as *."min" 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Sun, 15 Oct 2017 08:19:40 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2017-10-15T08:19:40Z</dc:date>
    <item>
      <title>How to find min and max per hour during day by host ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-min-and-max-per-hour-during-day-by-host/m-p/307826#M92338</link>
      <description>&lt;P&gt;If I use such SPL&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal 
 | timechart span=1h count by host
 | stats max(*) AS *."max", min(*) as *."min" | transpose
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;this produce min and max mixed in one column but I would like separate max and min column&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 07:06:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-min-and-max-per-hour-during-day-by-host/m-p/307826#M92338</guid>
      <dc:creator>exmuzzy</dc:creator>
      <dc:date>2017-10-15T07:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to find min and max per hour during day by host ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-min-and-max-per-hour-during-day-by-host/m-p/307827#M92339</link>
      <description>&lt;P&gt;Hi exmuzzy,&lt;BR /&gt;
let me understand: do you want max in a column and min in another one?&lt;BR /&gt;
if this is your requirement delete the transpose command!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=_internal 
  | timechart span=1h count by host
  | stats max(*) AS *."max", min(*) as *."min" 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 08:19:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-min-and-max-per-hour-during-day-by-host/m-p/307827#M92339</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-10-15T08:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to find min and max per hour during day by host ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-min-and-max-per-hour-during-day-by-host/m-p/307828#M92340</link>
      <description>&lt;P&gt;Can you please give a view of how you want the result and min and max of what ? &lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 08:20:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-min-and-max-per-hour-during-day-by-host/m-p/307828#M92340</guid>
      <dc:creator>kunalmao</dc:creator>
      <dc:date>2017-10-15T08:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to find min and max per hour during day by host ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-min-and-max-per-hour-during-day-by-host/m-p/307829#M92341</link>
      <description>&lt;P&gt;Hi exmuzzy,&lt;BR /&gt;
I have&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;giuseppe-pc.max giuseppe-pc.min
       102494           0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 08:23:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-min-and-max-per-hour-during-day-by-host/m-p/307829#M92341</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-10-15T08:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to find min and max per hour during day by host ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-min-and-max-per-hour-during-day-by-host/m-p/307830#M92342</link>
      <description>&lt;P&gt;No, I would like to rich such result&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;                              max       min
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;giuseppe-pc            0            334&lt;BR /&gt;
 backeтd                   12          502&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 06:50:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-min-and-max-per-hour-during-day-by-host/m-p/307830#M92342</guid>
      <dc:creator>exmuzzy</dc:creator>
      <dc:date>2017-10-16T06:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to find min and max per hour during day by host ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-min-and-max-per-hour-during-day-by-host/m-p/307831#M92343</link>
      <description>&lt;P&gt;Hi exmuzzy,&lt;BR /&gt;
did you tried?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal 
| bin_time span=1h
| chart max(count) AS Max  min(count) as Min BY host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 11:04:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-min-and-max-per-hour-during-day-by-host/m-p/307831#M92343</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-10-16T11:04:05Z</dc:date>
    </item>
  </channel>
</rss>

