<?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: Single value with trend to compare last 7 days and last 7 days before that in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354124#M23100</link>
    <description>&lt;P&gt;It all works fine for me on v6.6.0.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jun 2017 15:03:39 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-06-16T15:03:39Z</dc:date>
    <item>
      <title>Single value with trend to compare last 7 days and last 7 days before that</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354116#M23092</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;

&lt;P&gt;I want to compare total count of last 7 days to the total count of 7 days before that in a single value with trend. For example, (suppose today is 15th), if the total count from 9th to 15th is 120 and total count from 1st to 8th was 50. I want to compare this and have a single value with Arrow.&lt;/P&gt;

&lt;P&gt;I hope you have got my point. Le t me know if you need some more information&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 07:38:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354116#M23092</guid>
      <dc:creator>splunk_kk</dc:creator>
      <dc:date>2017-06-15T07:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Single value with trend to compare last 7 days and last 7 days before that</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354117#M23093</link>
      <description>&lt;P&gt;would you want the single value to be 120, then and just an arrow pointing up?&lt;/P&gt;

&lt;P&gt;try something like this for a date range of the 1st through 14th:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|timechart span=7d count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;if you only want the arrow, don't show the sparkline. it would just be two points anyways with just two weeks.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 11:38:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354117#M23093</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-06-15T11:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Single value with trend to compare last 7 days and last 7 days before that</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354118#M23094</link>
      <description>&lt;P&gt;Hi Cmerriman,&lt;/P&gt;

&lt;P&gt;Thanks for your response.&lt;/P&gt;

&lt;P&gt;I managed to create a search but it is not giving me the result as expected. see below:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;MY SEARCH:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;earliest=-14d@d latest=@d-1s index=myindex sourcetype=mysourcetype status=success | timechart span=7d count | fields count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;I'm getting the result as:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;count   _time
25  2017-06-09
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;What I'm expecting is:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;count   _time
0   2017-06-02
25  2017-06-09
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I think the problem is if the total of the count during the week from 2nd to 8th is 0 (Zero) is doesn't provide the result for that week. Any clues how we can make that appear in the result?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 00:51:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354118#M23094</guid>
      <dc:creator>splunk_kk</dc:creator>
      <dc:date>2017-06-16T00:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Single value with trend to compare last 7 days and last 7 days before that</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354119#M23095</link>
      <description>&lt;P&gt;It definitely should work; it works for me (you don't need the &lt;CODE&gt;fields&lt;/CODE&gt; part so just drop it):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;earliest=-14d@d latest=@d-1s index=_internal
| timechart span=7d count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Jun 2017 02:31:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354119#M23095</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-06-16T02:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Single value with trend to compare last 7 days and last 7 days before that</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354120#M23096</link>
      <description>&lt;P&gt;Thanks Woodcock. It would work but if count is zero it won't show for that week/hour/day.&lt;/P&gt;

&lt;P&gt;Did you see a zero in your count in the results?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 02:35:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354120#M23096</guid>
      <dc:creator>splunk_kk</dc:creator>
      <dc:date>2017-06-16T02:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Single value with trend to compare last 7 days and last 7 days before that</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354121#M23097</link>
      <description>&lt;P&gt;Yes, even when I drop the previous week's events like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;earliest=-14d@d latest=@d-1s index=_internal
| where _time &amp;gt; relative_time(now(), "-1d@d") 
| timechart span=7d count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Jun 2017 02:46:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354121#M23097</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-06-16T02:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Single value with trend to compare last 7 days and last 7 days before that</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354122#M23098</link>
      <description>&lt;P&gt;Strange, doesn't work for me....&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 02:52:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354122#M23098</guid>
      <dc:creator>splunk_kk</dc:creator>
      <dc:date>2017-06-16T02:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Single value with trend to compare last 7 days and last 7 days before that</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354123#M23099</link>
      <description>&lt;P&gt;that is bizarre. i'm running a similar query on my own data. i limited a dataset so that i only had data coming back from 6/11-6/14. i ran &lt;CODE&gt;.... earliest=-14d@d latest=@d-1s| timechart span=7d count | fields count&lt;/CODE&gt;&lt;BR /&gt;
and got back &lt;BR /&gt;
    count   _time&lt;BR /&gt;
    0   2017-06-02&lt;BR /&gt;
    17864   2017-06-09&lt;BR /&gt;
I'm on version 6.5.1, is that the version you are on? &lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 12:05:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354123#M23099</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-06-16T12:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Single value with trend to compare last 7 days and last 7 days before that</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354124#M23100</link>
      <description>&lt;P&gt;It all works fine for me on v6.6.0.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 15:03:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354124#M23100</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-06-16T15:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Single value with trend to compare last 7 days and last 7 days before that</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354125#M23101</link>
      <description>&lt;P&gt;I am on v6.6.0.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 15:04:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Single-value-with-trend-to-compare-last-7-days-and-last-7-days/m-p/354125#M23101</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-06-16T15:04:00Z</dc:date>
    </item>
  </channel>
</rss>

