<?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: Help showing top tenants by number of hosts in pie chart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-showing-top-tenants-by-number-of-hosts-in-pie-chart/m-p/597201#M207908</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/137142"&gt;@venky1544&lt;/a&gt;&amp;nbsp;Sorry, I'm new to Splunk.. when I tried putting the &lt;SPAN&gt;&amp;nbsp;"| top limit=10..." command at the bottom, it did not work and resulted into this. Am I doing it incorrectly?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-05-10 105634.png" style="width: 680px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19559i0813F328F16CAA99/image-dimensions/680x171?v=v2" width="680" height="171" role="button" title="Screenshot 2022-05-10 105634.png" alt="Screenshot 2022-05-10 105634.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-05-10 105711.png" style="width: 397px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19560i1C0E0EA45B7826AB/image-dimensions/397x232?v=v2" width="397" height="232" role="button" title="Screenshot 2022-05-10 105711.png" alt="Screenshot 2022-05-10 105711.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2022 14:59:39 GMT</pubDate>
    <dc:creator>marcorivera</dc:creator>
    <dc:date>2022-05-10T14:59:39Z</dc:date>
    <item>
      <title>Help showing top tenants by number of hosts in pie chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-showing-top-tenants-by-number-of-hosts-in-pie-chart/m-p/597178#M207903</link>
      <description>&lt;P&gt;I would like to make a pie chart which shows the Top 10 tenants by number of hosts and then put everything else under the label "other".&lt;/P&gt;&lt;P&gt;Currently, I am doing this:&lt;/P&gt;&lt;PRE&gt;| stats sum(hostsCount) as hostsCount by TenantName
| sort hostsCount desc&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marcorivera_0-1652191180864.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19553iAE41283BC763C705/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marcorivera_0-1652191180864.png" alt="marcorivera_0-1652191180864.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue with this is that it truncates the TenantNames to 10000 as shown in the screenshot which makes the "other" category's hostsCount not accurate. There are over 30000 TenantNames/hostsCount.&lt;/P&gt;&lt;P&gt;I would like to change this Pie chart to:&lt;/P&gt;&lt;P&gt;1. Display the Top 10&amp;nbsp; tenants by hostsCount&lt;/P&gt;&lt;P&gt;2. Make a label called "other" and put all the remaining hostsCounts in them so that it displays the accurate percentage/amount.&lt;/P&gt;&lt;P&gt;What would be the best way to do this?&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 14:16:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-showing-top-tenants-by-number-of-hosts-in-pie-chart/m-p/597178#M207903</guid>
      <dc:creator>marcorivera</dc:creator>
      <dc:date>2022-05-10T14:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help showing top tenants by number of hosts in pie chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-showing-top-tenants-by-number-of-hosts-in-pie-chart/m-p/597187#M207906</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/245666"&gt;@marcorivera&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just try&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;your search | top limit=10 useother=true hostsCount&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if it helps karma points are appreciated /if it resolves solution acceptance is appreciated&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 14:38:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-showing-top-tenants-by-number-of-hosts-in-pie-chart/m-p/597187#M207906</guid>
      <dc:creator>venky1544</dc:creator>
      <dc:date>2022-05-10T14:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help showing top tenants by number of hosts in pie chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-showing-top-tenants-by-number-of-hosts-in-pie-chart/m-p/597201#M207908</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/137142"&gt;@venky1544&lt;/a&gt;&amp;nbsp;Sorry, I'm new to Splunk.. when I tried putting the &lt;SPAN&gt;&amp;nbsp;"| top limit=10..." command at the bottom, it did not work and resulted into this. Am I doing it incorrectly?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-05-10 105634.png" style="width: 680px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19559i0813F328F16CAA99/image-dimensions/680x171?v=v2" width="680" height="171" role="button" title="Screenshot 2022-05-10 105634.png" alt="Screenshot 2022-05-10 105634.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-05-10 105711.png" style="width: 397px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19560i1C0E0EA45B7826AB/image-dimensions/397x232?v=v2" width="397" height="232" role="button" title="Screenshot 2022-05-10 105711.png" alt="Screenshot 2022-05-10 105711.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 14:59:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-showing-top-tenants-by-number-of-hosts-in-pie-chart/m-p/597201#M207908</guid>
      <dc:creator>marcorivera</dc:creator>
      <dc:date>2022-05-10T14:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help showing top tenants by number of hosts in pie chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-showing-top-tenants-by-number-of-hosts-in-pie-chart/m-p/597348#M207972</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/245666"&gt;@marcorivera&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;apologies i read the question wrong you can ignore the top command&lt;/P&gt;&lt;P&gt;your earlier query is correct&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you save the piechart in a dashboard, and then you can use the&amp;nbsp;&lt;/SPAN&gt;charting.data.count&lt;SPAN&gt;&amp;nbsp;option to set a higher limit (even unlimited (0)).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/8.2.2202/Viz/ChartConfigurationReference" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/SplunkCloud/8.2.2202/Viz/ChartConfigurationReference&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="venky1544_0-1652262003904.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19574i9BCA1541798A0FB6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="venky1544_0-1652262003904.png" alt="venky1544_0-1652262003904.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S if it helps karma points are appreciated&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 09:40:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-showing-top-tenants-by-number-of-hosts-in-pie-chart/m-p/597348#M207972</guid>
      <dc:creator>venky1544</dc:creator>
      <dc:date>2022-05-11T09:40:34Z</dc:date>
    </item>
  </channel>
</rss>

