<?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: Dynamic Baseline for Timechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Dynamic-Baseline-for-Timechart/m-p/42431#M9915</link>
    <description>&lt;P&gt;But what about such a feeling? Please adjust the fine format.&lt;/P&gt;

&lt;P&gt;(ex.)&lt;BR /&gt;
index=* earliest=-30d@d latest=@d|eval Day=strftime(_time,"%Y-%m-%d")|stats avg(elapsed) as avg(Elapsed), perc90(elapsed) as perc90(elapsed) by Day|eval ID=1|join ID [search index=*  earliest=-30d@d latest=@d |stats avg(elapsed) as 30dAvgElapsed, perc90(elapsed) as 30dPerc90Elapsed|eval ID=1]&lt;/P&gt;</description>
    <pubDate>Thu, 22 Aug 2013 00:33:00 GMT</pubDate>
    <dc:creator>HiroshiSatoh</dc:creator>
    <dc:date>2013-08-22T00:33:00Z</dc:date>
    <item>
      <title>Dynamic Baseline for Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dynamic-Baseline-for-Timechart/m-p/42430#M9914</link>
      <description>&lt;P&gt;I need help building a chart that has a dynamic baseline based on the last 30 days of data.  Over that baseline, I would put values from the last ten days.&lt;/P&gt;

&lt;P&gt;I dont have the karma to post the mock-up image I made, but I can try to represent the data I would like in a table.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;        avg(Elapsed)    perc90(elapsed) 30dAvgElapsed   30dPerc90Elapsed
1-Aug       0.19        0.22        0.22        0.25
2-Aug       0.35        0.38        0.22        0.25
3-Aug       0.27        0.30        0.22        0.25
4-Aug       0.22        0.25        0.22        0.25
5-Aug       0.18        0.21        0.22        0.25
6-Aug       0.21        0.24        0.22        0.25
7-Aug       0.25        0.28        0.22        0.25
8-Aug       0.32        0.35        0.22        0.25
9-Aug       0.11        0.14        0.22        0.25
10-Aug      0.10        0.13        0.22        0.25
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So, the avg(elapsed) and perc90(elapsed) would be variable, but the 30d avg and perc90 would be straight lines on a line chart.  This would let me see if our times in the last ten days were deviating significantly from our numbers in the last 30 days.&lt;/P&gt;

&lt;P&gt;I tried to use appendcols and a subsearch for the 30 day numbers. But, I couldn't get the same numbers to fill those columns and make a baseline across the chart.&lt;/P&gt;

&lt;P&gt;How is this done?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2013 21:41:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dynamic-Baseline-for-Timechart/m-p/42430#M9914</guid>
      <dc:creator>tpederson</dc:creator>
      <dc:date>2013-08-21T21:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Baseline for Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dynamic-Baseline-for-Timechart/m-p/42431#M9915</link>
      <description>&lt;P&gt;But what about such a feeling? Please adjust the fine format.&lt;/P&gt;

&lt;P&gt;(ex.)&lt;BR /&gt;
index=* earliest=-30d@d latest=@d|eval Day=strftime(_time,"%Y-%m-%d")|stats avg(elapsed) as avg(Elapsed), perc90(elapsed) as perc90(elapsed) by Day|eval ID=1|join ID [search index=*  earliest=-30d@d latest=@d |stats avg(elapsed) as 30dAvgElapsed, perc90(elapsed) as 30dPerc90Elapsed|eval ID=1]&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2013 00:33:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dynamic-Baseline-for-Timechart/m-p/42431#M9915</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2013-08-22T00:33:00Z</dc:date>
    </item>
  </channel>
</rss>

