<?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: SHOW number of highest devices seen in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-the-dashboard-to-show-ONLY-the-highest-count-for/m-p/635994#M220931</link>
    <description>&lt;P&gt;It would be helpful if you could share some of your upstream SPL (and maybe even some sample data). This might help us to generate efficient SPL for your use-case.&lt;/P&gt;&lt;P&gt;That being said, here is a way to convert the table you provided into the largest device count.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| transpose column_name=devices
| rename "row 1" as count
| eventstats max(count) as max_count
| where count=max_count&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This has the ability to return multiple rows if they have the largest count in common. You could use &lt;STRONG&gt;| head 1 &lt;/STRONG&gt;after to limit it to one result.&lt;/P&gt;</description>
    <pubDate>Sat, 25 Mar 2023 02:22:56 GMT</pubDate>
    <dc:creator>Tom_Lundie</dc:creator>
    <dc:date>2023-03-25T02:22:56Z</dc:date>
    <item>
      <title>How do I get the dashboard to show  ONLY the highest count for the day?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-the-dashboard-to-show-ONLY-the-highest-count-for/m-p/635987#M220929</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I have this dashboard showing the below.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HBSS&amp;nbsp; &amp;nbsp; &amp;nbsp; ACAS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CMRSACAS&amp;nbsp; &amp;nbsp; CMRSHBSS&lt;BR /&gt;89&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 92&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;84&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 77&lt;/P&gt;
&lt;P&gt;MY question is how do I get the dashboard to show&amp;nbsp; ONLY the highest count for the day. Since the dashboard are updated daily? Any help will be fantastic.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 03:10:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-the-dashboard-to-show-ONLY-the-highest-count-for/m-p/635987#M220929</guid>
      <dc:creator>woodlandrelic</dc:creator>
      <dc:date>2023-03-27T03:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: SHOW number of highest devices seen</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-the-dashboard-to-show-ONLY-the-highest-count-for/m-p/635994#M220931</link>
      <description>&lt;P&gt;It would be helpful if you could share some of your upstream SPL (and maybe even some sample data). This might help us to generate efficient SPL for your use-case.&lt;/P&gt;&lt;P&gt;That being said, here is a way to convert the table you provided into the largest device count.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| transpose column_name=devices
| rename "row 1" as count
| eventstats max(count) as max_count
| where count=max_count&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This has the ability to return multiple rows if they have the largest count in common. You could use &lt;STRONG&gt;| head 1 &lt;/STRONG&gt;after to limit it to one result.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2023 02:22:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-the-dashboard-to-show-ONLY-the-highest-count-for/m-p/635994#M220931</guid>
      <dc:creator>Tom_Lundie</dc:creator>
      <dc:date>2023-03-25T02:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: SHOW number of highest devices seen</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-the-dashboard-to-show-ONLY-the-highest-count-for/m-p/636174#M220954</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/227250"&gt;@Tom_Lundie&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;So I figure it out and replace the individual search with&lt;BR /&gt;&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;|search system_id=$system_id$&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;| transpose column_name=devices&lt;BR /&gt;| rename "row 2" as count&lt;BR /&gt;| eventstats max(count) as max_count&lt;BR /&gt;| where count=max_count&lt;BR /&gt;| table max_count&lt;BR /&gt;| head 1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Thank you very much&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 16:06:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-the-dashboard-to-show-ONLY-the-highest-count-for/m-p/636174#M220954</guid>
      <dc:creator>woodlandrelic</dc:creator>
      <dc:date>2023-03-27T16:06:51Z</dc:date>
    </item>
  </channel>
</rss>

