<?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: Percent timechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Percent-timechart/m-p/315066#M163671</link>
    <description>&lt;P&gt;Just add an eval statement with your desired calculation, like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=app sourcetype="someSource" | timechart count(method) as TotalItems, count(Mismatch) as Mismatches | eval PercentMismtach=round(Mismatches*100/TotalItems,2)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 12 Jan 2018 22:01:22 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2018-01-12T22:01:22Z</dc:date>
    <item>
      <title>Percent timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percent-timechart/m-p/315065#M163670</link>
      <description>&lt;P&gt;I'm currently using this query to display a chart with two lines: the TotalItems and the number of Mismatches.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=app sourcetype="someSource" | timechart count(method) as TotalItems, count(Mismatch) as Mismatches
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I need to display the percent of mismatches (mismatches*100/totalItems) of the two lines. Any tips would be really appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 21:55:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percent-timechart/m-p/315065#M163670</guid>
      <dc:creator>Camilleri</dc:creator>
      <dc:date>2018-01-12T21:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Percent timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percent-timechart/m-p/315066#M163671</link>
      <description>&lt;P&gt;Just add an eval statement with your desired calculation, like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=app sourcetype="someSource" | timechart count(method) as TotalItems, count(Mismatch) as Mismatches | eval PercentMismtach=round(Mismatches*100/TotalItems,2)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Jan 2018 22:01:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percent-timechart/m-p/315066#M163671</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-01-12T22:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Percent timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percent-timechart/m-p/315067#M163672</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 22:06:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percent-timechart/m-p/315067#M163672</guid>
      <dc:creator>Camilleri</dc:creator>
      <dc:date>2018-01-12T22:06:10Z</dc:date>
    </item>
  </channel>
</rss>

