<?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: TimeChart not working properly in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/TimeChart-not-working-properly/m-p/203883#M187667</link>
    <description>&lt;P&gt;Try this. Since you are using &lt;CODE&gt;sma2&lt;/CODE&gt; for your trendline, you will not see &lt;CODE&gt;trend&lt;/CODE&gt; for the latest event.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=msexchange sourcetype="MSExchange:2013:HttpProxy" host="ftlpex02cas01.citrite.net" RpcHttp AND "/rpc/rpcproxy.dll" |timechart span=1d count | trendline sma2(count) as trend | eval alert=if(trend &amp;gt; Count, "yes", "no")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 03 Aug 2016 13:55:06 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-08-03T13:55:06Z</dc:date>
    <item>
      <title>TimeChart not working properly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/TimeChart-not-working-properly/m-p/203882#M187666</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;

&lt;P&gt;index=msexchange sourcetype="MSExchange:2013:HttpProxy" host="ftlpex02cas01.citrite.net" RpcHttp AND "/rpc/rpcproxy.dll" |timechart span=1d count | trendline sma2(count) as trend | stats latest(count) as Count latest(trend) as trend | eval alert=if(trend &amp;gt; Count, "yes", "no")&lt;/P&gt;

&lt;P&gt;i have the above query which has three fields count , trend and alert&lt;/P&gt;

&lt;P&gt;But i am not able to get the values for the three fields for the last 7 days i.e i want the values for the three fields to displayed along with date for last 7 days&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 10:26:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/TimeChart-not-working-properly/m-p/203882#M187666</guid>
      <dc:creator>kiran_mh</dc:creator>
      <dc:date>2016-08-03T10:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: TimeChart not working properly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/TimeChart-not-working-properly/m-p/203883#M187667</link>
      <description>&lt;P&gt;Try this. Since you are using &lt;CODE&gt;sma2&lt;/CODE&gt; for your trendline, you will not see &lt;CODE&gt;trend&lt;/CODE&gt; for the latest event.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=msexchange sourcetype="MSExchange:2013:HttpProxy" host="ftlpex02cas01.citrite.net" RpcHttp AND "/rpc/rpcproxy.dll" |timechart span=1d count | trendline sma2(count) as trend | eval alert=if(trend &amp;gt; Count, "yes", "no")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Aug 2016 13:55:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/TimeChart-not-working-properly/m-p/203883#M187667</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-03T13:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: TimeChart not working properly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/TimeChart-not-working-properly/m-p/203884#M187668</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;

&lt;P&gt;One more thing, we have the following query&lt;/P&gt;

&lt;P&gt;index=msexchange sourcetype="MSExchange:2013:HttpProxy" host="ftlpex02cas01.citrite.net" RpcHttp AND "/rpc/rpcproxy.dll" |timechart span=1d count | trendline sma2(count) as trend |stats latest(count) as count latest(trend) as trend | eval alert=if(trend &amp;gt; count, "yes", "no")&lt;/P&gt;

&lt;P&gt;But in this query the timechart is not working , we are not getting the _time field.&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 07:29:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/TimeChart-not-working-properly/m-p/203884#M187668</guid>
      <dc:creator>kiran_mh</dc:creator>
      <dc:date>2016-08-04T07:29:25Z</dc:date>
    </item>
  </channel>
</rss>

