<?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: Can annotations be be added manually without timechart in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382212#M25033</link>
    <description>&lt;P&gt;@niketnilay this is kinda what im looking for the first scenario:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6790i9D835702ECEA9487/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;So the table would populate those line markers/annotations based on the user inputting the time and comment that they have for them. &lt;/P&gt;</description>
    <pubDate>Thu, 28 Mar 2019 10:16:29 GMT</pubDate>
    <dc:creator>mwdbhyat</dc:creator>
    <dc:date>2019-03-28T10:16:29Z</dc:date>
    <item>
      <title>Can annotations be be added manually without timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382208#M25029</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;Say I wanted to add a marker for points of interest on a chart - is there a way to accomplish something like this - similar to annotations but not restricted to timechart, or do annotations only work with timechart?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 17:36:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382208#M25029</guid>
      <dc:creator>mwdbhyat</dc:creator>
      <dc:date>2019-03-27T17:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can annotations be be added manually without timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382209#M25030</link>
      <description>&lt;P&gt;@mwdbhyat can you add an image of your requirement. If case of sensitive information just add a mock image (paint or White board) of what you need?&lt;/P&gt;

&lt;P&gt;Refer to one of my previous answers where I had added Vertical and Horizontal lines to a scatter chart using CSS extension: &lt;A href="https://answers.splunk.com/answers/681701/how-to-add-division-line-on-the-scatter-chart.html"&gt;https://answers.splunk.com/answers/681701/how-to-add-division-line-on-the-scatter-chart.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 19:26:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382209#M25030</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-03-27T19:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can annotations be be added manually without timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382210#M25031</link>
      <description>&lt;P&gt;@niketnilay thanks for getting back to me!..Its pretty much the same as what you answered in that question above.. however:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;- Is there a way to annotate manually based on a table - EG - I build a | table with _time, comment - this can then populate the chart at the time specified in the table, with the comment associated with it(think ES workflow where the analyst pastes a note/comment at a certain time -- except this is a much poorer version &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;/LI&gt;
&lt;LI&gt;The other thing im looking to do with annotations is to highlight a specified day.. like tell me when today is, or last monday(but not on a timechart - just a normal chart)&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Do you have any thoughts on this?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 08:23:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382210#M25031</guid>
      <dc:creator>mwdbhyat</dc:creator>
      <dc:date>2019-03-28T08:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can annotations be be added manually without timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382211#M25032</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/180565"&gt;@mwdbhyat&lt;/a&gt; if you have Time on x-axis, Event Annotation should be able to handle both the above scenarios. You don't need CSS override!&lt;/P&gt;

&lt;P&gt;For second one, you need a dummy search, to generate specific date as _time (epoch time) field and dummy data for annotation. You can do this easily with  &lt;CODE&gt;| makeresults&lt;/CODE&gt; and &lt;CODE&gt;relative_time()&lt;/CODE&gt; in case you need annotation not for current _time but a different data. Finally eval the annotation fields with static message you want.&lt;/P&gt;

&lt;P&gt;In case you need help with that you would need to provide mock as requested.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:53:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382211#M25032</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-09-29T23:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can annotations be be added manually without timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382212#M25033</link>
      <description>&lt;P&gt;@niketnilay this is kinda what im looking for the first scenario:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6790i9D835702ECEA9487/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;So the table would populate those line markers/annotations based on the user inputting the time and comment that they have for them. &lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 10:16:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382212#M25033</guid>
      <dc:creator>mwdbhyat</dc:creator>
      <dc:date>2019-03-28T10:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can annotations be be added manually without timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382213#M25034</link>
      <description>&lt;P&gt;This seems like you want to annotate based on time. If not then what is it based on?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 15:36:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382213#M25034</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-04-02T15:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can annotations be be added manually without timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382214#M25035</link>
      <description>&lt;P&gt;Can you try the following run anywhere dashboard? First search generate Chart using run anywhere search and second creates a search with several annotation events.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6791iA8DA554655541E47/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Data Annotation&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;!-- Search to generate chart based on Raw Data search --&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| gentimes start=-30
| eval _time=starttime
| fields _time
| eval data=random()
| eval data=substr(data,1,2)&amp;lt;/query&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;!-- Secondary search that drives the annotations --&amp;gt;
        &amp;lt;search type="annotation"&amp;gt;
          &amp;lt;query&amp;gt;| makeresults 
| eval _time=relative_time(now(),"-26d@d"), message="MR3 BUG FIX", type="type1" 
| append 
    [| makeresults 
    | eval _time=relative_time(now(),"-25d@d"), message="HSD Recovery Script", type="type1"] 
| append 
    [| makeresults 
    | eval _time=relative_time(now(),"-20d@d"), message="Something else", type="type1"]
| append 
    [| makeresults 
    | eval _time=relative_time(now(),"-18d@d"), message="Something new", type="type1"]
| append 
    [| makeresults 
    | eval _time=relative_time(now(),"-10d@d"), message="ABCD Test", type="type1"] 
| append 
    [| makeresults 
    | eval _time=relative_time(now(),"-8d@d"), message="Blah Blah", type="type1"]
| append 
    [| makeresults 
    | eval _time=relative_time(now(),"-5d@d"), message="Marco Polo", type="type1"]
| eval annotation_label = message&amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;!-- Customize the event annotation colors based on category name --&amp;gt;
        &amp;lt;option name="charting.annotation.categoryColors"&amp;gt;{"type1":"0xffcc00"}&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisX.abbreviation"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY.abbreviation"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.abbreviation"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;line&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.showDataLabels"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries.allowIndependentYRanges"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.mode"&amp;gt;standard&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.placement"&amp;gt;right&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.lineWidth"&amp;gt;2&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.scales.shared"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.size"&amp;gt;medium&amp;lt;/option&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 02 Apr 2019 15:55:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382214#M25035</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-04-02T15:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can annotations be be added manually without timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382215#M25036</link>
      <description>&lt;P&gt;Thanks alot!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 07:05:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382215#M25036</guid>
      <dc:creator>mwdbhyat</dc:creator>
      <dc:date>2019-04-03T07:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can annotations be be added manually without timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382216#M25037</link>
      <description>&lt;P&gt;Excellent!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 19:46:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382216#M25037</guid>
      <dc:creator>clintla</dc:creator>
      <dc:date>2019-04-23T19:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can annotations be be added manually without timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382217#M25038</link>
      <description>&lt;P&gt;@niketnilay - Great sample, very helpful. I was trying to change the annotation colors, and found that to show use of annotation colors, you need to make the following three changes:&lt;/P&gt;

&lt;P&gt;In middle of query, change these two to "type2":&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | append 
     [| makeresults 
     | eval _time=relative_time(now(),"-20d@d"), message="Something else", type="type2"]
 | append 
     [| makeresults 
     | eval _time=relative_time(now(),"-18d@d"), message="Something new", type="type2"]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;At end of query, add this line:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | eval annotation_category = type
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In options, update this line:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;option name="charting.annotation.categoryColors"&amp;gt;{"type1":"0xffcc00","type2":"0x00ccff"}&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That way, you end up with two light blue annotations as well as the orange ones.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 16:49:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382217#M25038</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2020-04-20T16:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can annotations be be added manually without timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382218#M25039</link>
      <description>&lt;P&gt;Yes indeed &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 20:57:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-annotations-be-be-added-manually-without-timechart/m-p/382218#M25039</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-04-20T20:57:18Z</dc:date>
    </item>
  </channel>
</rss>

