<?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: How to add &amp;quot;point-in-time&amp;quot; annotations to a chart? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-quot-point-in-time-quot-annotations-to-a-chart/m-p/175470#M50379</link>
    <description>&lt;P&gt;Well, the nice thing is that you can use the same CSV file with a variety of different charts... &lt;/P&gt;</description>
    <pubDate>Fri, 26 Jun 2015 22:40:07 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2015-06-26T22:40:07Z</dc:date>
    <item>
      <title>How to add "point-in-time" annotations to a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-quot-point-in-time-quot-annotations-to-a-chart/m-p/175467#M50376</link>
      <description>&lt;P&gt;I'd like to "annotate" a graph which shows performance over time with what points the releases have been at.&lt;/P&gt;

&lt;P&gt;I see that there was an idea that this feature would be available: &lt;A href="http://answers.splunk.com/answers/4108/annotation-chart-over-line-chart-overlay.html"&gt;http://answers.splunk.com/answers/4108/annotation-chart-over-line-chart-overlay.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Did it ever get implemented, perhaps under another name? Is there a way to approximate this functionality? &lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 19:43:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-quot-point-in-time-quot-annotations-to-a-chart/m-p/175467#M50376</guid>
      <dc:creator>NaraSplunk</dc:creator>
      <dc:date>2015-06-24T19:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to add "point-in-time" annotations to a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-quot-point-in-time-quot-annotations-to-a-chart/m-p/175468#M50377</link>
      <description>&lt;P&gt;Assume that you have a CSV file with the release information, in a format like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;timestamp,releaseId
1435104000,"10.1.1"
1432425600,"9.5.3"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note that the time is in Linux epoch format, and is just a date (ie, a timestamp at midnight). This is to make matching easier. You could do it other ways, but that would complicate the answer... Load this file as a lookup table in Splunk (&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/Knowledge/Usefieldlookupstoaddinformationtoyourevents"&gt;Step-by-step lookup instructions&lt;/A&gt;)&lt;/P&gt;

&lt;P&gt;How assume that your current search looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;yoursearchhere
| timechart span=1d avg(performance_number) as perf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To add the release information, do this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;yoursearchhere
| timechart span=1d avg(performance_number) as perf
| eval timestamp=relative_time(_time,"@d")
| join type=left timestamp [ inputlookup yourlookupfile.csv | eval x=100 | chart avg(x) by timestamp releaseId ]
| fields - timestamp
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Use the column chart visualization, then choose a chart overlay. For the chart overlay field, chose your original field "perf". You should see a bar of height 100 for each of your releases, and a line for "perf".&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 20:05:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-quot-point-in-time-quot-annotations-to-a-chart/m-p/175468#M50377</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2015-06-24T20:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to add "point-in-time" annotations to a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-quot-point-in-time-quot-annotations-to-a-chart/m-p/175469#M50378</link>
      <description>&lt;P&gt;Messy, but it'll work.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2015 21:36:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-quot-point-in-time-quot-annotations-to-a-chart/m-p/175469#M50378</guid>
      <dc:creator>NaraSplunk</dc:creator>
      <dc:date>2015-06-26T21:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to add "point-in-time" annotations to a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-quot-point-in-time-quot-annotations-to-a-chart/m-p/175470#M50379</link>
      <description>&lt;P&gt;Well, the nice thing is that you can use the same CSV file with a variety of different charts... &lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2015 22:40:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-quot-point-in-time-quot-annotations-to-a-chart/m-p/175470#M50379</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2015-06-26T22:40:07Z</dc:date>
    </item>
  </channel>
</rss>

