<?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: Percentage Timechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Percentage-Timechart/m-p/67970#M16984</link>
    <description>&lt;P&gt;You are right! edited the answer&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2013 13:49:25 GMT</pubDate>
    <dc:creator>gfuente</dc:creator>
    <dc:date>2013-09-19T13:49:25Z</dc:date>
    <item>
      <title>Percentage Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percentage-Timechart/m-p/67967#M16981</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;I'm trying to add a percentage for each day. Here is what I have:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=tt OrderIntegration.asmx "PlaceOrderResponse" ("RealTime" OR "AdvancedSale") | timechart span=1d count(eval(searchmatch("RealTime"))) as NumberofRealTimeListings, count(eval(searchmatch("AdvancedSale"))) as NumberofNonRealTimeListings, sum(eval("NumberofNonRealTimeListings"/"NumberofRealTimeListings")) as Percent 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any ideas what I'm missing?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 13:41:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percentage-Timechart/m-p/67967#M16981</guid>
      <dc:creator>tkwaller</dc:creator>
      <dc:date>2013-09-19T13:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percentage-Timechart/m-p/67968#M16982</link>
      <description>&lt;P&gt;Hello &lt;/P&gt;

&lt;P&gt;Have you tried to eval the percentage after the timechart, like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=tt OrderIntegration.asmx "PlaceOrderResponse" ("RealTime" OR "AdvancedSale") | timechart span=1d count(eval(searchmatch("RealTime"))) as NumberofRealTimeListings, count(eval(searchmatch("AdvancedSale"))) as NumberofNonRealTimeListings | eval Percent = (NumberofNonRealTimeListings/NumberofRealTimeListings)*100
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 13:45:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percentage-Timechart/m-p/67968#M16982</guid>
      <dc:creator>gfuente</dc:creator>
      <dc:date>2013-09-19T13:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percentage-Timechart/m-p/67969#M16983</link>
      <description>&lt;P&gt;also, I think you should remove the double quotes around the field names in the eval.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 13:48:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percentage-Timechart/m-p/67969#M16983</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-09-19T13:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percentage-Timechart/m-p/67970#M16984</link>
      <description>&lt;P&gt;You are right! edited the answer&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 13:49:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percentage-Timechart/m-p/67970#M16984</guid>
      <dc:creator>gfuente</dc:creator>
      <dc:date>2013-09-19T13:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percentage-Timechart/m-p/67971#M16985</link>
      <description>&lt;P&gt;Yes when I did this I got "Error in 'eval' command: Typechecking failed. '/' only takes numbers."&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 13:51:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percentage-Timechart/m-p/67971#M16985</guid>
      <dc:creator>tkwaller</dc:creator>
      <dc:date>2013-09-19T13:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percentage-Timechart/m-p/67972#M16986</link>
      <description>&lt;P&gt;I actually got that after I added that comment. Thanks for the direction!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 13:55:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percentage-Timechart/m-p/67972#M16986</guid>
      <dc:creator>tkwaller</dc:creator>
      <dc:date>2013-09-19T13:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percentage-Timechart/m-p/67973#M16987</link>
      <description>&lt;P&gt;How can I use this percentage and plot it in a timechart ? Can someone help.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 08:51:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percentage-Timechart/m-p/67973#M16987</guid>
      <dc:creator>chandusubash</dc:creator>
      <dc:date>2017-03-02T08:51:47Z</dc:date>
    </item>
  </channel>
</rss>

