<?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 use the timechart command to find percentage differences between months by severity? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-timechart-command-to-find-percentage-differences/m-p/228319#M67471</link>
    <description>&lt;P&gt;This one the percent doesnt come out right. Am I seeing that correct?&lt;/P&gt;</description>
    <pubDate>Mon, 03 Oct 2016 20:58:40 GMT</pubDate>
    <dc:creator>cbrownlee</dc:creator>
    <dc:date>2016-10-03T20:58:40Z</dc:date>
    <item>
      <title>How to use the timechart command to find percentage differences between months by severity?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-timechart-command-to-find-percentage-differences/m-p/228316#M67468</link>
      <description>&lt;P&gt;I am trying to run a report that runs percentages differences from month to month for each of the severities. I have no idea where to start. &lt;/P&gt;

&lt;P&gt;| timechart count by Severity &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; Critical   Major   Minor   Warning
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;2016-01        2300           502   1703    6821&lt;BR /&gt;
2016-02         4133      401        1608   7721&lt;BR /&gt;
2016-03          3767       737         1178    1473&lt;BR /&gt;
2016-04         3875    4279    770         16541&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 18:17:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-timechart-command-to-find-percentage-differences/m-p/228316#M67468</guid>
      <dc:creator>cbrownlee</dc:creator>
      <dc:date>2016-10-03T18:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the timechart command to find percentage differences between months by severity?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-timechart-command-to-find-percentage-differences/m-p/228317#M67469</link>
      <description>&lt;P&gt;Try this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | timechart count by Severity | delta Major as Major_d | delta Minor as Minor_d | delta Warning as Warning_d | eval perc_Major=round((Major-Major_d)/Major*100, 2) | eval perc_Minor=round((Minor -Minor_d)/Minor*100, 2) | eval perc_Warning=round((Warning-Warning_d)/Warning*100, 2)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Oct 2016 18:52:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-timechart-command-to-find-percentage-differences/m-p/228317#M67469</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-10-03T18:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the timechart command to find percentage differences between months by severity?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-timechart-command-to-find-percentage-differences/m-p/228318#M67470</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | bucket span=1mon _time | stats count by Severity _time 
| streamstats current=f window=1 values(count) as prevcount by Severity
| eval Perc=if(isnull(prevcount),0,round((count-prevcount)*100/prevcount,2)
| timechart span=1mon max(Perc) by Severity
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Oct 2016 18:52:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-timechart-command-to-find-percentage-differences/m-p/228318#M67470</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-10-03T18:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the timechart command to find percentage differences between months by severity?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-timechart-command-to-find-percentage-differences/m-p/228319#M67471</link>
      <description>&lt;P&gt;This one the percent doesnt come out right. Am I seeing that correct?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 20:58:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-timechart-command-to-find-percentage-differences/m-p/228319#M67471</guid>
      <dc:creator>cbrownlee</dc:creator>
      <dc:date>2016-10-03T20:58:40Z</dc:date>
    </item>
  </channel>
</rss>

