<?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 How to add a trendline to my search? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-a-trendline-to-my-search/m-p/121869#M7136</link>
    <description>&lt;P&gt;I have a few searches with a few totals and an SLA line... kinda as follows.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...... | timechart max(msecs) AS Max_avg  min(msecs) AS Min_avg avg(msecs) AS Total_avg |eval SLA=47
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to add a trendline to this search so its also visible in the dashboards... how can i do this.....&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jul 2015 13:55:24 GMT</pubDate>
    <dc:creator>neilhiley</dc:creator>
    <dc:date>2015-07-14T13:55:24Z</dc:date>
    <item>
      <title>How to add a trendline to my search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-a-trendline-to-my-search/m-p/121869#M7136</link>
      <description>&lt;P&gt;I have a few searches with a few totals and an SLA line... kinda as follows.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...... | timechart max(msecs) AS Max_avg  min(msecs) AS Min_avg avg(msecs) AS Total_avg |eval SLA=47
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to add a trendline to this search so its also visible in the dashboards... how can i do this.....&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 13:55:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-a-trendline-to-my-search/m-p/121869#M7136</guid>
      <dc:creator>neilhiley</dc:creator>
      <dc:date>2015-07-14T13:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a trendline to my search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-a-trendline-to-my-search/m-p/121870#M7137</link>
      <description>&lt;P&gt;Just pipe to &lt;CODE&gt;trendline&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | trendline sma10(Max_avg) as MaxTrend
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;where&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;&lt;CODE&gt;sma&lt;/CODE&gt; can be &lt;CODE&gt;ema&lt;/CODE&gt;, &lt;CODE&gt;sma&lt;/CODE&gt;, or &lt;CODE&gt;wma&lt;/CODE&gt;&lt;BR /&gt;
and &lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;&lt;CODE&gt;10&lt;/CODE&gt; represents the period (can be between 2 and 10000)&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Read more on the trendline command &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/Trendline"&gt;here&lt;/A&gt;&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Upon rereading your question... I'm wondering if you just meant the chart overlay option.&lt;/P&gt;

&lt;P&gt;In the visualization tab, go to Format. Then go to Chart Overlay, then choose the field you'd like to use.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 19:51:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-a-trendline-to-my-search/m-p/121870#M7137</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-07-14T19:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a trendline to my search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-a-trendline-to-my-search/m-p/121871#M7138</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;is it possible to give the EMA in the Visualized View an Offset so it is X times smaller?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 20:54:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-a-trendline-to-my-search/m-p/121871#M7138</guid>
      <dc:creator>schwiddi</dc:creator>
      <dc:date>2018-02-21T20:54:14Z</dc:date>
    </item>
  </channel>
</rss>

