<?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 view percentages in column chart instead of total values without calculating percentages in search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-view-percentages-in-column-chart-instead-of-total-values/m-p/163749#M46519</link>
    <description>&lt;P&gt;Calculating that in search isn't hard though:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal | timechart count by sourcetype | addtotals fieldname=_Total | foreach * [eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; = '&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;' * 100 / _Total] | fields - _Total
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can move the &lt;CODE&gt;addtotals | foreach | fields&lt;/CODE&gt; into a macro and reuse it.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Aug 2014 21:51:07 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2014-08-01T21:51:07Z</dc:date>
    <item>
      <title>How to view percentages in column chart instead of total values without calculating percentages in search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-view-percentages-in-column-chart-instead-of-total-values/m-p/163747#M46517</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm using a column visualization and the stack mode "100%". It would be nice to have the percentages in the chart instead of total values. Is this possible without calculating the percentages in the search?&lt;/P&gt;

&lt;P&gt;BR&lt;/P&gt;

&lt;P&gt;Heinz&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2014 14:51:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-view-percentages-in-column-chart-instead-of-total-values/m-p/163747#M46517</guid>
      <dc:creator>HeinzWaescher</dc:creator>
      <dc:date>2014-07-30T14:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to view percentages in column chart instead of total values without calculating percentages in search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-view-percentages-in-column-chart-instead-of-total-values/m-p/163748#M46518</link>
      <description>&lt;P&gt;I don't think so.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2014 21:40:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-view-percentages-in-column-chart-instead-of-total-values/m-p/163748#M46518</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-08-01T21:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to view percentages in column chart instead of total values without calculating percentages in search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-view-percentages-in-column-chart-instead-of-total-values/m-p/163749#M46519</link>
      <description>&lt;P&gt;Calculating that in search isn't hard though:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal | timechart count by sourcetype | addtotals fieldname=_Total | foreach * [eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; = '&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;' * 100 / _Total] | fields - _Total
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can move the &lt;CODE&gt;addtotals | foreach | fields&lt;/CODE&gt; into a macro and reuse it.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2014 21:51:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-view-percentages-in-column-chart-instead-of-total-values/m-p/163749#M46519</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-08-01T21:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to view percentages in column chart instead of total values without calculating percentages in search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-view-percentages-in-column-chart-instead-of-total-values/m-p/163750#M46520</link>
      <description>&lt;P&gt;Awesome, didn't know it can be done so easy. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2014 08:37:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-view-percentages-in-column-chart-instead-of-total-values/m-p/163750#M46520</guid>
      <dc:creator>HeinzWaescher</dc:creator>
      <dc:date>2014-08-04T08:37:07Z</dc:date>
    </item>
  </channel>
</rss>

