<?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: Converting Percentages to Decimal based Percentages in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Converting-Percentages-to-Decimal-based-Percentages/m-p/84703#M21591</link>
    <description>&lt;P&gt;For results in table you can concatenate the field with a string.&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
eval S_final=(S2*100/S1)."%"&lt;BR /&gt;
&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;but for a graph, it's more on the options of the dashboard.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jun 2012 05:00:50 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2012-06-27T05:00:50Z</dc:date>
    <item>
      <title>Converting Percentages to Decimal based Percentages</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Converting-Percentages-to-Decimal-based-Percentages/m-p/84702#M21590</link>
      <description>&lt;P&gt;I want to change the percentage results of the follwoing search into decimal based Percentages, as I want the 0.5% for example to show instead of just a 0%&lt;/P&gt;

&lt;P&gt;The following search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="&amp;lt;index&amp;gt;"   | eventstats sum(S1) as S1 | eventstats sum(S1) as S2 by seconds | eval S_final = S2*100/S1 | chart first(S_final) as S_Solution by seconds 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I also would like to know how to add the percentile Unit to the values, is that possible?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2012 23:54:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Converting-Percentages-to-Decimal-based-Percentages/m-p/84702#M21590</guid>
      <dc:creator>Dark_Ichigo</dc:creator>
      <dc:date>2012-06-26T23:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Percentages to Decimal based Percentages</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Converting-Percentages-to-Decimal-based-Percentages/m-p/84703#M21591</link>
      <description>&lt;P&gt;For results in table you can concatenate the field with a string.&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
eval S_final=(S2*100/S1)."%"&lt;BR /&gt;
&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;but for a graph, it's more on the options of the dashboard.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2012 05:00:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Converting-Percentages-to-Decimal-based-Percentages/m-p/84703#M21591</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-06-27T05:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Percentages to Decimal based Percentages</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Converting-Percentages-to-Decimal-based-Percentages/m-p/84704#M21592</link>
      <description>&lt;P&gt;Thanks for that, I wanted to add percentage units to the table view and it worked fine.&lt;/P&gt;

&lt;P&gt;I also managed to solve the issue with the search results to be floating point based numbers instead of whole numbers and it was the summary indexed data that was playing up so I just ran another backfill script &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2012 22:43:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Converting-Percentages-to-Decimal-based-Percentages/m-p/84704#M21592</guid>
      <dc:creator>Dark_Ichigo</dc:creator>
      <dc:date>2012-06-27T22:43:49Z</dc:date>
    </item>
  </channel>
</rss>

