<?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: Splunk Trend Indicator Single Value - Assistance would be appreciated in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305366#M91662</link>
    <description>&lt;P&gt;Check this out (it will blow your mind):&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/511894/how-to-use-the-timewrap-command-and-set-an-alert-f.html#answer-512022"&gt;https://answers.splunk.com/answers/511894/how-to-use-the-timewrap-command-and-set-an-alert-f.html#answer-512022&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2017 01:15:13 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-07-13T01:15:13Z</dc:date>
    <item>
      <title>Splunk Trend Indicator Single Value - Assistance would be appreciated</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305364#M91660</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have panels that produce a number using the stat command (stats count | where count=0] | stats count) at the end of each panels calculations with a field that ensures not n/a. What i want to do is show the trend of this number over the last 24 hours or week. I was considering using trend lines but this may work better.&lt;/P&gt;

&lt;P&gt;So i need some formula that calculates the number of events from a previous 24 hours i am guessing the avg command and then compares this to current day so i want to see the trends but also want to know if and when this log is not working for some reason. thanks C. &lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 16:46:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305364#M91660</guid>
      <dc:creator>colinmchugo</dc:creator>
      <dc:date>2017-07-12T16:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Trend Indicator Single Value - Assistance would be appreciated</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305365#M91661</link>
      <description>&lt;P&gt;You can show trendline and trend indicator by switching from stats to timechart. You can start off with the following which shows a timechart for last 24 hours with a span of 1 hour.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;YourBaseSearch&amp;gt; earliest=-24h@h latest=now()
| timechart span=1 count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Trend indicator above will be based on current and previous hour. You have several options available with this visualization which you can try out from Splunk UI &lt;STRONG&gt;Edit&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Format Visualization&lt;/STRONG&gt; option. Refer to documentation for details: &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/SingleValueGenerate"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Viz/SingleValueGenerate&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 19:13:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305365#M91661</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-07-12T19:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Trend Indicator Single Value - Assistance would be appreciated</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305366#M91662</link>
      <description>&lt;P&gt;Check this out (it will blow your mind):&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/511894/how-to-use-the-timewrap-command-and-set-an-alert-f.html#answer-512022"&gt;https://answers.splunk.com/answers/511894/how-to-use-the-timewrap-command-and-set-an-alert-f.html#answer-512022&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 01:15:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305366#M91662</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-07-13T01:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Trend Indicator Single Value - Assistance would be appreciated</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305367#M91663</link>
      <description>&lt;P&gt;Thanks so much i am going through this and hopefully it will resolve my issue, really appreciate your assistance. &lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 09:16:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305367#M91663</guid>
      <dc:creator>colinmchugo</dc:creator>
      <dc:date>2017-07-13T09:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Trend Indicator Single Value - Assistance would be appreciated</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305368#M91664</link>
      <description>&lt;P&gt;Thanks so much i am going through this and hopefully it will resolve my issue, really appreciate your assistance. &lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 09:16:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305368#M91664</guid>
      <dc:creator>colinmchugo</dc:creator>
      <dc:date>2017-07-13T09:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Trend Indicator Single Value - Assistance would be appreciated</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305369#M91665</link>
      <description>&lt;P&gt;Hi i am still not where i want to be and that maybe because i want to make my panels in a way that when someone drills down to this data it produces a table so this would be in the query then ended by a stats count just to get the number of times e.g. someone logged into a system.&lt;/P&gt;

&lt;P&gt;I have found | timechart count | timechart per_day(count) span=24h but i am unsure if this is what i want as it differs numbers wise from the stats count but i am trying to ascertain if this is due to the way it counts 24 hours (from now or from midnight). So i am getting the trendlines i wanted but not the right math.&lt;/P&gt;

&lt;P&gt;So id greatly appreciate some more assistance to crack this thing as its annoying when you can get a result. &lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 15:56:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305369#M91665</guid>
      <dc:creator>colinmchugo</dc:creator>
      <dc:date>2017-07-13T15:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Trend Indicator Single Value - Assistance would be appreciated</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305370#M91666</link>
      <description>&lt;P&gt;Hi i am still not where i want to be and that maybe because i want to make my panels in a way that when someone drills down to this data it produces a table so this would be in the query then ended by a stats count just to get the number of times e.g. someone logged into a system.&lt;/P&gt;

&lt;P&gt;I have found | timechart count | timechart per_day(count) span=24h but i am unsure if this is what i want as it differs numbers wise from the stats count but i am trying to ascertain if this is due to the way it counts 24 hours (from now or from midnight). So i am getting the trendlines i wanted but not the right math.&lt;/P&gt;

&lt;P&gt;So id greatly appreciate some more assistance to crack this thing as its annoying when you can get a result. &lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 15:56:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305370#M91666</guid>
      <dc:creator>colinmchugo</dc:creator>
      <dc:date>2017-07-13T15:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Trend Indicator Single Value - Assistance would be appreciated</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305371#M91667</link>
      <description>&lt;P&gt;So to be as clear as i can be for example lets say i am getting a result of 36 events which have occurred in the last 24 hours (dropdown box selection). But the visualization with the above is showing 7 -22 or down 22 from yesterday as i understand it. Why does this not add up too 36? thanks again. I have used two sources by ID &amp;amp; by Source time like as follows which both have the 7 -22| timechart span=1d count by SourceType but yet there are 36 events. I just want to verify that the data is correct and i am not displaying incorrect figures as i want to see the number of instances in last 24 hours and show if this up or down from yesterday with a little trend line would be brilliant as this would show if the logs are functioning as they should be. thanks&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 16:12:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305371#M91667</guid>
      <dc:creator>colinmchugo</dc:creator>
      <dc:date>2017-07-13T16:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Trend Indicator Single Value - Assistance would be appreciated</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305372#M91668</link>
      <description>&lt;P&gt;So to be as clear as i can be for example lets say i am getting a result of 36 events which have occurred in the last 24 hours (dropdown box selection). But the visualization with the above is showing 7 -22 or down 22 from yesterday as i understand it. Why does this not add up too 36? thanks again. I have used two sources by ID &amp;amp; by Source time like as follows which both have the 7 -22| timechart span=1d count by SourceType but yet there are 36 events. I just want to verify that the data is correct and i am not displaying incorrect figures as i want to see the number of instances in last 24 hours and show if this up or down from yesterday with a little trend line would be brilliant as this would show if the logs are functioning as they should be. thanks&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 16:13:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305372#M91668</guid>
      <dc:creator>colinmchugo</dc:creator>
      <dc:date>2017-07-13T16:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Trend Indicator Single Value - Assistance would be appreciated</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305373#M91669</link>
      <description>&lt;P&gt;Hey colinmchugo!&lt;/P&gt;

&lt;P&gt;is this what you are after?&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://i.imgur.com/D6T6rCC.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;The key is to run your search over the proper amount of time to ensure you have your current value and the value you want to compare to. I would suggest looking at timechart rather than stats, because you need to retain the context of time in your comparison. &lt;/P&gt;

&lt;P&gt;In this simple example, I am searching the count of events in my index over the last 48 hours:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=n00blab 
|  timechart partial=f span=1h count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I used partial=f as to not compare buckets that are not finished yet. If you need the comparison to be more "real-time" just shorten your span. 5m usually does the trick and is good for human response and operational insight. &lt;/P&gt;

&lt;P&gt;The i used the single indicator viz, and set the format to compare to the last 24 hours...You can customize this as you wish. &lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://i.imgur.com/4xGdppn.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Is this getting closer?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 16:36:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305373#M91669</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-07-13T16:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Trend Indicator Single Value - Assistance would be appreciated</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305374#M91670</link>
      <description>&lt;P&gt;partial=f ftw!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 14:59:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305374#M91670</guid>
      <dc:creator>thulasikrishnan</dc:creator>
      <dc:date>2019-08-29T14:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Trend Indicator Single Value - Assistance would be appreciated</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305375#M91671</link>
      <description>&lt;P&gt;I had to make sure I commented and THANK YOU for the "partial = f".  I was going a little crazy.  Thank you!!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 19:22:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Trend-Indicator-Single-Value-Assistance-would-be/m-p/305375#M91671</guid>
      <dc:creator>aferone</dc:creator>
      <dc:date>2020-02-14T19:22:11Z</dc:date>
    </item>
  </channel>
</rss>

