<?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: Trendline period integer syntax queston (sma | ema | wma) in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Trendline-period-integer-syntax-queston-sma-ema-wma/m-p/465107#M131050</link>
    <description>&lt;P&gt;Ahh, I see.  The Splunk documentation needs to be more clear. &lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2019 17:15:40 GMT</pubDate>
    <dc:creator>UMDTERPS</dc:creator>
    <dc:date>2019-10-23T17:15:40Z</dc:date>
    <item>
      <title>Trendline period integer syntax queston (sma | ema | wma)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trendline-period-integer-syntax-queston-sma-ema-wma/m-p/465102#M131045</link>
      <description>&lt;P&gt;I am looking through the documentation on Splunk about trendlines and sma | ema | wma. In the documentation, it says you must pick an integer between 2 and 1000:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.2/SearchReference/Trendline"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.2/SearchReference/Trendline&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| trendline sma2(muffins) as trend
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The documentation doesn't say what the period means, but you have to pick a number between 2 and 1000. I assuming "2" is one day, "3" is two days???&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 13:09:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trendline-period-integer-syntax-queston-sma-ema-wma/m-p/465102#M131045</guid>
      <dc:creator>UMDTERPS</dc:creator>
      <dc:date>2019-10-23T13:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline period integer syntax queston (sma | ema | wma)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trendline-period-integer-syntax-queston-sma-ema-wma/m-p/465103#M131046</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| makeresults count=100
| eval number = random() % 100 + 1
| streamstats count
| fields count number
| fields - _time
| trendline sma2(number) sma5(number) sma10(number)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hi, As you can see from the results, &lt;EM&gt;period&lt;/EM&gt; is not limited to time.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 13:42:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trendline-period-integer-syntax-queston-sma-ema-wma/m-p/465103#M131046</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2019-10-23T13:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline period integer syntax queston (sma | ema | wma)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trendline-period-integer-syntax-queston-sma-ema-wma/m-p/465104#M131047</link>
      <description>&lt;P&gt;@to4kawa Could you explain what &lt;EM&gt;period&lt;/EM&gt; is?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 13:54:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trendline-period-integer-syntax-queston-sma-ema-wma/m-p/465104#M131047</guid>
      <dc:creator>russell120</dc:creator>
      <dc:date>2019-10-23T13:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline period integer syntax queston (sma | ema | wma)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trendline-period-integer-syntax-queston-sma-ema-wma/m-p/465105#M131048</link>
      <description>&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Moving_average"&gt;Moving average&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Period means&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;the previous n data&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 23 Oct 2019 14:12:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trendline-period-integer-syntax-queston-sma-ema-wma/m-p/465105#M131048</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2019-10-23T14:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline period integer syntax queston (sma | ema | wma)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trendline-period-integer-syntax-queston-sma-ema-wma/m-p/465106#M131049</link>
      <description>&lt;P&gt;Oh I understand, thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 17:08:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trendline-period-integer-syntax-queston-sma-ema-wma/m-p/465106#M131049</guid>
      <dc:creator>russell120</dc:creator>
      <dc:date>2019-10-23T17:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline period integer syntax queston (sma | ema | wma)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trendline-period-integer-syntax-queston-sma-ema-wma/m-p/465107#M131050</link>
      <description>&lt;P&gt;Ahh, I see.  The Splunk documentation needs to be more clear. &lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 17:15:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trendline-period-integer-syntax-queston-sma-ema-wma/m-p/465107#M131050</guid>
      <dc:creator>UMDTERPS</dc:creator>
      <dc:date>2019-10-23T17:15:40Z</dc:date>
    </item>
  </channel>
</rss>

