<?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: Trending sum count in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Trending-sum-count/m-p/523561#M147660</link>
    <description>&lt;P&gt;Thank you. Close however the numbers aren't adding up.&lt;/P&gt;&lt;P&gt;So for instance: if run stats sum - the total count comes to over 2000. This is the sum of the values in VALUE_NUM. There are multiple events that has VALUE_NUM with the value greater than 0.&lt;/P&gt;&lt;P&gt;whereas with Timechart - it comes to about 300 (missing 1700)&lt;/P&gt;&lt;P&gt;These events are usually populated during the weekends and some (small amount of events) come during the day. So the sum of VALUE_NUM over 7 days = 2000; and comparing it to the past 7 days of the sum would be ideal.&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;Sum of Week1=2500&lt;/P&gt;&lt;P&gt;Sum of Week2=1800&lt;/P&gt;&lt;P&gt;Sum of Week3=2000&lt;/P&gt;&lt;P&gt;So trendline for Week3 would show an uptick of 200 and the count as 2000&lt;/P&gt;</description>
    <pubDate>Thu, 08 Oct 2020 01:04:55 GMT</pubDate>
    <dc:creator>munisb</dc:creator>
    <dc:date>2020-10-08T01:04:55Z</dc:date>
    <item>
      <title>Trending sum count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trending-sum-count/m-p/523553#M147655</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to create a trending single value however having trouble setting it up. Essentially the stats below sums up VALUE_NUM and works as expected however i would like to compare this to 7d period or with the same previous_value of the time-picker&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=main VALUE_NUM&amp;gt;0 | dedup UUID | stats sum(VALUE_NUM)&lt;/LI-CODE&gt;&lt;P&gt;I have tried&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=main VALUE_NUM&amp;gt;0 | dedup UUID | timechart count as sum(VALUE_NUM) span=7d&lt;/LI-CODE&gt;&lt;P&gt;however this isn't returning the correct value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 23:15:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trending-sum-count/m-p/523553#M147655</guid>
      <dc:creator>munisb</dc:creator>
      <dc:date>2020-10-07T23:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Trending sum count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trending-sum-count/m-p/523557#M147656</link>
      <description>&lt;P&gt;With a single value visualisation, you can add a trend sparkline showing the comparison against earlier, but you need to use timechart&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=main VALUE_NUM&amp;gt;0 
| dedup UUID 
| timechart span=1d sum(VALUE_NUM) &lt;/LI-CODE&gt;&lt;P&gt;and then in the format section of the single value viz, set these&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bowesmana_0-1602115005335.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11191i5D4DCB9136048A7D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bowesmana_0-1602115005335.png" alt="bowesmana_0-1602115005335.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Another command you can use is timewrap, which can then show corresponding time periods mapped onto the same chart period&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 23:57:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trending-sum-count/m-p/523557#M147656</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2020-10-07T23:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Trending sum count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trending-sum-count/m-p/523561#M147660</link>
      <description>&lt;P&gt;Thank you. Close however the numbers aren't adding up.&lt;/P&gt;&lt;P&gt;So for instance: if run stats sum - the total count comes to over 2000. This is the sum of the values in VALUE_NUM. There are multiple events that has VALUE_NUM with the value greater than 0.&lt;/P&gt;&lt;P&gt;whereas with Timechart - it comes to about 300 (missing 1700)&lt;/P&gt;&lt;P&gt;These events are usually populated during the weekends and some (small amount of events) come during the day. So the sum of VALUE_NUM over 7 days = 2000; and comparing it to the past 7 days of the sum would be ideal.&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;Sum of Week1=2500&lt;/P&gt;&lt;P&gt;Sum of Week2=1800&lt;/P&gt;&lt;P&gt;Sum of Week3=2000&lt;/P&gt;&lt;P&gt;So trendline for Week3 would show an uptick of 200 and the count as 2000&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 01:04:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trending-sum-count/m-p/523561#M147660</guid>
      <dc:creator>munisb</dc:creator>
      <dc:date>2020-10-08T01:04:55Z</dc:date>
    </item>
  </channel>
</rss>

