<?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 show the difference in data values on timechart? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-the-difference-in-data-values-on-timechart/m-p/419947#M42205</link>
    <description>&lt;P&gt;Hi @yourcd &lt;/P&gt;

&lt;P&gt;Looks like you have a few possible solutions to your question. If one of them provided a working solution, please don't forget to click "Accept" below the best answer to resolve this post. If you still need help, please leave a comment. Don’t forget to upvote anything that was helpful too. &lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2019 15:56:37 GMT</pubDate>
    <dc:creator>Anam</dc:creator>
    <dc:date>2019-04-24T15:56:37Z</dc:date>
    <item>
      <title>How to show the difference in data values on timechart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-the-difference-in-data-values-on-timechart/m-p/419944#M42202</link>
      <description>&lt;P&gt;I have a time chart showing counts over a period of time using a bar chart. How to show the difference between the values on a bar? I want to display a hike(+/-) of the current count over the last count value. Please help.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 22:04:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-the-difference-in-data-values-on-timechart/m-p/419944#M42202</guid>
      <dc:creator>yourcd</dc:creator>
      <dc:date>2019-04-18T22:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to show the difference in data values on timechart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-the-difference-in-data-values-on-timechart/m-p/419945#M42203</link>
      <description>&lt;P&gt;Assuming the previous value you mentioned is the previous value, you can use &lt;CODE&gt;streamstats&lt;/CODE&gt; to do this like so&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| streamstats window=1 latest(&amp;lt;FIELD_NAME&amp;gt;) 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you meant you want to see the difference between the value today at this time and yesterday at the same time, you use &lt;CODE&gt;timewrap&lt;/CODE&gt; like this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| timechart ... 
| timewrap 1d
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Apr 2019 23:47:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-the-difference-in-data-values-on-timechart/m-p/419945#M42203</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2019-04-18T23:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to show the difference in data values on timechart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-the-difference-in-data-values-on-timechart/m-p/419946#M42204</link>
      <description>&lt;P&gt;Do your timechart and pipe it to another timechart.  Here is a run-anywhere example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_* sourcetype=splunkd earliest=-24h latest=now
| timechart span=1h count BY group 
| untable _time group count
| streamstats current=f last(count) AS prev_count BY group
| eval diff = coalesce(prev_count - count, 0)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 21 Apr 2019 13:08:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-the-difference-in-data-values-on-timechart/m-p/419946#M42204</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-04-21T13:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to show the difference in data values on timechart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-the-difference-in-data-values-on-timechart/m-p/419947#M42205</link>
      <description>&lt;P&gt;Hi @yourcd &lt;/P&gt;

&lt;P&gt;Looks like you have a few possible solutions to your question. If one of them provided a working solution, please don't forget to click "Accept" below the best answer to resolve this post. If you still need help, please leave a comment. Don’t forget to upvote anything that was helpful too. &lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 15:56:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-the-difference-in-data-values-on-timechart/m-p/419947#M42205</guid>
      <dc:creator>Anam</dc:creator>
      <dc:date>2019-04-24T15:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to show the difference in data values on timechart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-the-difference-in-data-values-on-timechart/m-p/419948#M42206</link>
      <description>&lt;P&gt;Hi assidique,&lt;/P&gt;

&lt;P&gt;Actually I am still looking out for the relevant answer.   &lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 18:03:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-the-difference-in-data-values-on-timechart/m-p/419948#M42206</guid>
      <dc:creator>yourcd</dc:creator>
      <dc:date>2019-04-26T18:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to show the difference in data values on timechart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-the-difference-in-data-values-on-timechart/m-p/419949#M42207</link>
      <description>&lt;P&gt;Let me re-phrase what is the scenario. In our application, we run a data report utility on demand which generates loggers of total count files in the application.  While making a Splunk dashboard, I want to show the total files count generated over the period of time. This I a doing using timechart.  However, I also wanted to show total file count growth compared to the last total count. The challenge I am facing here is,  we don't have any specific frequency (1d, or 1week, 1month) for utility execution. The utility may be invoked 2-3 times in a day or once in 2 days from end users. The goal is to showcase total asset count whenever utility is executed and how much is the growth after last execution.  I found the "delta" keyword which may help me but still struggling to leverage it to get exact result. &lt;/P&gt;

&lt;P&gt;The end goal is to show a stacked bar chart with the upper stack representing the count growth and lower stack representing the total count.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 18:15:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-the-difference-in-data-values-on-timechart/m-p/419949#M42207</guid>
      <dc:creator>yourcd</dc:creator>
      <dc:date>2019-04-26T18:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to show the difference in data values on timechart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-the-difference-in-data-values-on-timechart/m-p/419950#M42208</link>
      <description>&lt;P&gt;Why are we messing around?  Post sample events, then post a mockup of the desired output.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2019 00:54:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-the-difference-in-data-values-on-timechart/m-p/419950#M42208</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-04-27T00:54:47Z</dc:date>
    </item>
  </channel>
</rss>

