<?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 select from table in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347775#M41784</link>
    <description>&lt;P&gt;hello  thanks very much  &lt;/P&gt;

&lt;P&gt;but I also have one problem&lt;/P&gt;

&lt;P&gt;base on the command you show me  please see the table &lt;BR /&gt;
_time   HourlyCount    Maxcount&lt;BR /&gt;
2018/4/15 00：00  I  85  I  1084&lt;BR /&gt;
2018/4/15 01：00  I  84  I  1084&lt;BR /&gt;
2018/4/15 03：00  I  86  I  1084&lt;BR /&gt;
2018/4/15 04：00  I  89  I  1084&lt;BR /&gt;
2018/4/15 05：00  I  90  I  1084&lt;BR /&gt;
2018/4/15 06：00  I  95  I  1084&lt;BR /&gt;
2018/4/15 07：00  I 1084 I  1084&lt;BR /&gt;
2018/4/15 08：00  I  85  I  1084&lt;BR /&gt;
2018/4/15 09：00  I  85  I  1084&lt;BR /&gt;
2018/4/15 10：00  I  85  I  1084&lt;BR /&gt;
2018/4/15 11：00  I  85  I  1084&lt;/P&gt;

&lt;P&gt;how can I just get only&lt;BR /&gt;
2018/4/15  07：00  I 1084 I 1084&lt;/P&gt;

&lt;P&gt;the other days are same&lt;/P&gt;

&lt;P&gt;thank you  &lt;/P&gt;</description>
    <pubDate>Wed, 18 Apr 2018 08:50:37 GMT</pubDate>
    <dc:creator>fzfeng</dc:creator>
    <dc:date>2018-04-18T08:50:37Z</dc:date>
    <item>
      <title>how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347764#M41773</link>
      <description>&lt;P&gt;hello&lt;/P&gt;

&lt;P&gt;I made a search like this &lt;BR /&gt;
index=IP1 I timechart span=1h count  and I set the date one week&lt;/P&gt;

&lt;P&gt;so I got this table&lt;BR /&gt;
time                                         count&lt;BR /&gt;
2018/4/11 09：00                    8&lt;BR /&gt;
2018/4/11 10：00                    58&lt;BR /&gt;
2018/4/11 11：00                    6&lt;BR /&gt;
2018/4/11 12：00                    2&lt;BR /&gt;
2018/4/11 13：00                    8&lt;BR /&gt;
……&lt;BR /&gt;
2018/4/12 00：00                    8&lt;BR /&gt;
2018/4/12 01：00                    10&lt;BR /&gt;
2018/4/12 02：00                    8&lt;BR /&gt;
……&lt;/P&gt;

&lt;P&gt;2018/4/13 09：00                    8&lt;BR /&gt;
2018/4/13 10：00                    5&lt;/P&gt;

&lt;P&gt;how can I get the max value of everyday and the table will be like this&lt;/P&gt;

&lt;P&gt;2018/4/11 10：00                    58&lt;BR /&gt;
2018/4/12  01：00                    10&lt;BR /&gt;
2018/4/13  09：00                    8&lt;/P&gt;

&lt;P&gt;thanks every much&lt;BR /&gt;
please help  me one more time&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 01:11:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347764#M41773</guid>
      <dc:creator>fzfeng</dc:creator>
      <dc:date>2018-04-18T01:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347765#M41774</link>
      <description>&lt;P&gt;With your base search, like this...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=IP1 I timechart span=1h count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Ths produces records in this format&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| table _time count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you want the one hour with the highest count for each day, then you can do this.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| bin _time as day span=1d
| eventstats max(count) as maxcount by day
| where count=maxcount
| sort 0 _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Apr 2018 03:33:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347765#M41774</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2018-04-18T03:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347766#M41775</link>
      <description>&lt;P&gt;thanks for helping me  &lt;/P&gt;

&lt;P&gt;but it doesnot work&lt;/P&gt;

&lt;P&gt;index I timechart span=1h count I bin _time as day span=1d I eventsstats max（count）as maxcount by day I where count=maxcount I sort 0 _time&lt;/P&gt;

&lt;P&gt;I tried but I cannot get the only one item of everyday &lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 04:47:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347766#M41775</guid>
      <dc:creator>fzfeng</dc:creator>
      <dc:date>2018-04-18T04:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347767#M41776</link>
      <description>&lt;P&gt;Hey , I suppose you meant that you want your original report i.e each hour count and max count in one report.&lt;/P&gt;

&lt;P&gt;You can try something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=IP1 | timechart span=1h count| eval time=strftime(_time,"%Y-%m-%d")| eventstats max(count) as max_count by time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 06:09:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347767#M41776</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-04-18T06:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347768#M41777</link>
      <description>&lt;P&gt;thank you &lt;/P&gt;

&lt;P&gt;maybe my explain is poor  &lt;/P&gt;

&lt;P&gt;I want to make a statistic table base on mailog of Outlook&lt;/P&gt;

&lt;P&gt;the information I want to get from mailog is value  of mail  per hour   and  I just want the only one  max value per hour of a day  &lt;/P&gt;

&lt;P&gt;the table will be like &lt;BR /&gt;
  time                         max_count&lt;BR /&gt;
2018-4-12 9：00       6&lt;BR /&gt;
2018-4-13 20：00       7 &lt;/P&gt;

&lt;P&gt;I donot know if you get it&lt;/P&gt;

&lt;P&gt;sorry  &lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 06:33:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347768#M41777</guid>
      <dc:creator>fzfeng</dc:creator>
      <dc:date>2018-04-18T06:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347769#M41778</link>
      <description>&lt;P&gt;okay "value of mail" is in which field? is there any field for that ?&lt;BR /&gt;
also you just want max_count or you want both ?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 06:38:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347769#M41778</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-04-18T06:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347770#M41779</link>
      <description>&lt;P&gt;count of mail not value&lt;/P&gt;

&lt;P&gt;max count per hour  per day&lt;/P&gt;

&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 06:49:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347770#M41779</guid>
      <dc:creator>fzfeng</dc:creator>
      <dc:date>2018-04-18T06:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347771#M41780</link>
      <description>&lt;P&gt;i do not understand what you are trying to achieve.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=IP1 I timechart span=1h count 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;with this you get &lt;BR /&gt;
_time |count&lt;BR /&gt;
2018/4/11 09：00 | 8&lt;BR /&gt;
2018/4/11 10：00  | 58&lt;BR /&gt;
2018/4/12 11：00 | 6&lt;BR /&gt;
2018/4/12 12：00 | 12&lt;/P&gt;

&lt;P&gt;which means per hour what is count of mail. In other words, which basically is max value per hour.&lt;BR /&gt;
Now out of this result set if you want which hour in a day has the max count then you would need to use &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval time=strftime(_time,"%Y-%m-%d")| eventstats max(count) as max_count by time| fields- time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which will give you result something like this&lt;/P&gt;

&lt;P&gt;_time |count | max_count&lt;BR /&gt;
2018/4/11 09：00 | 8 | 58&lt;BR /&gt;
2018/4/11 10：00  | 58 | 58&lt;BR /&gt;
2018/4/12 11：00 | 6 | 12&lt;BR /&gt;
2018/4/12 12：00 | 12 | 12&lt;/P&gt;

&lt;P&gt;which is your requirement. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:03:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347771#M41780</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2020-09-29T19:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347772#M41781</link>
      <description>&lt;P&gt;thank you so much  &lt;/P&gt;

&lt;P&gt;I want the max count of hour &lt;/P&gt;

&lt;P&gt;like this &lt;BR /&gt;
time  I maxcount&lt;BR /&gt;
2018-4-11 10：00  I  58&lt;BR /&gt;
2018-4-12 11：00 I  12&lt;/P&gt;

&lt;P&gt;like this &lt;BR /&gt;
2018-4-11 09：00   50&lt;BR /&gt;
2018-4-11 10：00    60&lt;BR /&gt;
2018-4-11 11：00   70&lt;BR /&gt;
2018-4-12 15：00   55&lt;BR /&gt;
2018-4-12 16：00   56&lt;BR /&gt;
I just want get the max count item&lt;/P&gt;

&lt;P&gt;so how can I do just get&lt;BR /&gt;
2018-4-11  11：00    70 &lt;BR /&gt;
2018-4-12 16：00   56&lt;/P&gt;

&lt;P&gt;thanks  for your &lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 07:31:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347772#M41781</guid>
      <dc:creator>fzfeng</dc:creator>
      <dc:date>2018-04-18T07:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347773#M41782</link>
      <description>&lt;P&gt;with this you get &lt;BR /&gt;
_time |count&lt;BR /&gt;
2018/4/11 09：00 | 8&lt;BR /&gt;
2018/4/11 10：00 | 58&lt;BR /&gt;
2018/4/12 11：00 | 6&lt;BR /&gt;
2018/4/12 12：00 | 12&lt;BR /&gt;
from this table&lt;BR /&gt;
I want to get &lt;BR /&gt;
2018/4/11  10：00       58&lt;BR /&gt;
2018/4/12  12：00       12&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 07:38:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347773#M41782</guid>
      <dc:creator>fzfeng</dc:creator>
      <dc:date>2018-04-18T07:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347774#M41783</link>
      <description>&lt;P&gt;@fzfeng, try the following run anywhere Simple XML dashboard code based on Splunk's _internal index ( you can change base search as per your need.)&lt;BR /&gt;
PS: Time selection id &lt;CODE&gt;Week to Date&lt;/CODE&gt; and I have only two days of data as I have re-installed Splunk couple of days back.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4795i27171923B733AA3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Daily Max as Overlaid Field&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Hourly Stats Per Day with Daily Max as Overlaid Field&amp;lt;/title&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal sourcetype=splunkd log_level!="INFO"
| timechart span=1h last(date_mday) as date_mday count as HourlyCount
| filldown HourlyCount
| bin _time span=1h
| eventstats max(HourlyCount) as HourlyMaxPerDay by date_mday
| fields - date_mday&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;@w0&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleX.text"&amp;gt;Time&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisX.abbreviation"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY.abbreviation"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.abbreviation"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.enabled"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;connect&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.overlayFields"&amp;gt;HourlyMaxPerDay&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.showDataLabels"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries.allowIndependentYRanges"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.mode"&amp;gt;standard&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.placement"&amp;gt;right&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.lineWidth"&amp;gt;2&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.scales.shared"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.size"&amp;gt;medium&amp;lt;/option&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Apr 2018 07:41:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347774#M41783</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-18T07:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347775#M41784</link>
      <description>&lt;P&gt;hello  thanks very much  &lt;/P&gt;

&lt;P&gt;but I also have one problem&lt;/P&gt;

&lt;P&gt;base on the command you show me  please see the table &lt;BR /&gt;
_time   HourlyCount    Maxcount&lt;BR /&gt;
2018/4/15 00：00  I  85  I  1084&lt;BR /&gt;
2018/4/15 01：00  I  84  I  1084&lt;BR /&gt;
2018/4/15 03：00  I  86  I  1084&lt;BR /&gt;
2018/4/15 04：00  I  89  I  1084&lt;BR /&gt;
2018/4/15 05：00  I  90  I  1084&lt;BR /&gt;
2018/4/15 06：00  I  95  I  1084&lt;BR /&gt;
2018/4/15 07：00  I 1084 I  1084&lt;BR /&gt;
2018/4/15 08：00  I  85  I  1084&lt;BR /&gt;
2018/4/15 09：00  I  85  I  1084&lt;BR /&gt;
2018/4/15 10：00  I  85  I  1084&lt;BR /&gt;
2018/4/15 11：00  I  85  I  1084&lt;/P&gt;

&lt;P&gt;how can I just get only&lt;BR /&gt;
2018/4/15  07：00  I 1084 I 1084&lt;/P&gt;

&lt;P&gt;the other days are same&lt;/P&gt;

&lt;P&gt;thank you  &lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 08:50:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347775#M41784</guid>
      <dc:creator>fzfeng</dc:creator>
      <dc:date>2018-04-18T08:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347776#M41785</link>
      <description>&lt;P&gt;Try this then&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=IP1 | timechart span=1h count| eval time=strftime(_time,"%Y-%m-%d")| eventstats max(count) as max_count by time | where max_count=count | table _time max_count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 15:46:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347776#M41785</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-04-18T15:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347777#M41786</link>
      <description>&lt;P&gt;@fzeng you might have do give mock output as per what your requirement is.&lt;/P&gt;

&lt;P&gt;If you want to have MaxCount only when HourlyCount is Maximum, then you can add the following as your final pipe:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;YourCurrentSearchAsPerAboveQuery&amp;gt;
| eval MaxCount =if(HourlyCount=MaxCount ,MaxCount ,0)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you want to only retain the HourlyCount when it is equal to MaxCount you can try the following search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;YourCurrentSearchAsPerAboveQuery&amp;gt;
  | where HourlyCount=MaxCount
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If your need is neither of the above two scenario please add a sample output and we can suggest required query.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 03:37:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347777#M41786</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-19T03:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347778#M41787</link>
      <description>&lt;P&gt;hello thank you so much   it works&lt;/P&gt;

&lt;P&gt;thank you very very  much  &lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 07:33:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347778#M41787</guid>
      <dc:creator>fzfeng</dc:creator>
      <dc:date>2018-04-19T07:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347779#M41788</link>
      <description>&lt;P&gt;thank you It works &lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 08:15:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347779#M41788</guid>
      <dc:creator>fzfeng</dc:creator>
      <dc:date>2018-04-19T08:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347780#M41789</link>
      <description>&lt;P&gt;@fzfeng, glad it worked. Please accept the Answer and up-vote the comment/s that helped.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 08:38:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347780#M41789</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-19T08:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347781#M41790</link>
      <description>&lt;P&gt;If you deem a posted answer as valid and helpful to your solving of the issue, please accept said answer so that this question no longer appears open.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 09:46:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347781#M41790</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-04-19T09:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to select from table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347782#M41791</link>
      <description>&lt;P&gt;thank you very much  it works&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 11:38:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-select-from-table/m-p/347782#M41791</guid>
      <dc:creator>fzfeng</dc:creator>
      <dc:date>2018-04-20T11:38:05Z</dc:date>
    </item>
  </channel>
</rss>

