<?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: Creating Pie Chart with three separate fields and their percentage value in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Pie-Chart-with-three-separate-fields-and-their/m-p/573355#M47045</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In Splunk, the fields are distinct as attached. Let me know how to combine these fields into single field so that i can create pie chart.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="P_raju_0-1635879126851.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16708i8F7C7D025EC54360/image-size/medium?v=v2&amp;amp;px=400" role="button" title="P_raju_0-1635879126851.png" alt="P_raju_0-1635879126851.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;P_raju&lt;/P&gt;</description>
    <pubDate>Tue, 02 Nov 2021 18:52:56 GMT</pubDate>
    <dc:creator>P_raju</dc:creator>
    <dc:date>2021-11-02T18:52:56Z</dc:date>
    <item>
      <title>Creating Pie Chart with three separate fields and their percentage value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Pie-Chart-with-three-separate-fields-and-their/m-p/572811#M46998</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I need to build pie chart for three separate fields which should display the field name and its percentage in the same pie chart.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eg: ial1, ial2 and ial3 are three different fields in Splunk. It should display in the attached format. Could someone help me on this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="P_raju_0-1635419411123.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16637i79482CE0317C19AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="P_raju_0-1635419411123.png" alt="P_raju_0-1635419411123.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 11:12:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Pie-Chart-with-three-separate-fields-and-their/m-p/572811#M46998</guid>
      <dc:creator>P_raju</dc:creator>
      <dc:date>2021-10-28T11:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Pie Chart with three separate fields and their percentage value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Pie-Chart-with-three-separate-fields-and-their/m-p/573297#M47043</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240219"&gt;@P_raju&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can use fieldsummary command to do this. Example:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="_internal"| fieldsummary | table field, distinct_count&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;EM&gt;If you find my solution/debugging steps fruitful, an upvote would be appreciated.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 11:30:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Pie-Chart-with-three-separate-fields-and-their/m-p/573297#M47043</guid>
      <dc:creator>jhanvidattani</dc:creator>
      <dc:date>2021-11-02T11:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Pie Chart with three separate fields and their percentage value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Pie-Chart-with-three-separate-fields-and-their/m-p/573300#M47044</link>
      <description>&lt;P&gt;the standard pie chart doesn't display percentages except when you hover over the various segments. Is this sufficient? If so, you just need a table with id and count(?) and visualise that as a pie chart e.g.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats count by id&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 11:59:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Pie-Chart-with-three-separate-fields-and-their/m-p/573300#M47044</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-11-02T11:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Pie Chart with three separate fields and their percentage value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Pie-Chart-with-three-separate-fields-and-their/m-p/573355#M47045</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In Splunk, the fields are distinct as attached. Let me know how to combine these fields into single field so that i can create pie chart.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="P_raju_0-1635879126851.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16708i8F7C7D025EC54360/image-size/medium?v=v2&amp;amp;px=400" role="button" title="P_raju_0-1635879126851.png" alt="P_raju_0-1635879126851.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;P_raju&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 18:52:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Pie-Chart-with-three-separate-fields-and-their/m-p/573355#M47045</guid>
      <dc:creator>P_raju</dc:creator>
      <dc:date>2021-11-02T18:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Pie Chart with three separate fields and their percentage value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Pie-Chart-with-three-separate-fields-and-their/m-p/573363#M47046</link>
      <description>&lt;P&gt;I have assumed you want to count the ia* fields - if you want something else, change the stats function - the key is to then transpose to get each ia* value as a different event&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| gentimes start=-1 increment=10m 
| eval id="ia".(random()%3)."_users"
| table id
| eval {id}=random()%10
| fields - id


| stats count(ia*_users) as ia*_users
| transpose 0&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 02 Nov 2021 19:23:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Pie-Chart-with-three-separate-fields-and-their/m-p/573363#M47046</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-11-02T19:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Pie Chart with three separate fields and their percentage value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Pie-Chart-with-three-separate-fields-and-their/m-p/573430#M47053</link>
      <description>&lt;P&gt;You can try it as:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index&amp;lt;your_index&amp;gt; | fields ia_*| fieldsummary | table field, distinct_count&lt;/LI-CODE&gt;&lt;P&gt;Pie chart will create sections depending on count of each field and calculate percentage by default (visible by hovering on each segment).&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 05:47:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Pie-Chart-with-three-separate-fields-and-their/m-p/573430#M47053</guid>
      <dc:creator>jhanvidattani</dc:creator>
      <dc:date>2021-11-03T05:47:09Z</dc:date>
    </item>
  </channel>
</rss>

