<?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: Too much annotations in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Too-much-annotations/m-p/468762#M45673</link>
    <description>&lt;P&gt;Right, been staring at this for ages but it seems to be solved. &lt;/P&gt;

&lt;P&gt;It was suggested to only select the moments to place the annotation from the search rather then look for them from the result.&lt;/P&gt;

&lt;P&gt;Changed the annotation query to&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="bla" | search inPercentUtil&amp;gt;65 AND Percent_CPULoad&amp;gt;90
| eval annotation_category="Critical"
| eval annotation_label="Insert_Message"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now it is working. &lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2020 12:33:22 GMT</pubDate>
    <dc:creator>wbolten</dc:creator>
    <dc:date>2020-02-07T12:33:22Z</dc:date>
    <item>
      <title>Too much annotations</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Too-much-annotations/m-p/468761#M45672</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I have created a bar chart that shows in my case example data on the CPU usage of a device with two overlays for inbound and outbound traffic. &lt;BR /&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/8373i87B5B1239716A5EC/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;When a certain combination of values is exceeded I want to place an annotation to highlight this. As shown in this example.&lt;BR /&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/8374i66444564CA8C6C77/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;What I cannot seem to get rid off are the orange annotations that seem to be placed when the condition is not matched. &lt;/P&gt;

&lt;P&gt;The search is as follows. In this I am evaluating and updating the label and the category.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;search type="annotation"&amp;gt;
&amp;lt;query&amp;gt;index="bla" 
| timechart span=1m avg(inPercentUtil) as inPercentUtil avg(Percent_CPULoad) as Percent_CPULoad 
| eval critical=if(inPercentUtil&amp;gt;65 AND Percent_CPULoad&amp;gt;90,"Yes","No")
| eval annotation_category=case(critical="Yes","Critical")
| eval annotation_label=case(critical="Yes","Insert_Message")
 &amp;lt;/query&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What should I do to stop the orange markers from showing? I don't even specify a color for the annotations.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="charting.annotation.categoryColors"&amp;gt;{"Critical":"0xe60000"}&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Feb 2020 11:19:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Too-much-annotations/m-p/468761#M45672</guid>
      <dc:creator>wbolten</dc:creator>
      <dc:date>2020-02-07T11:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Too much annotations</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Too-much-annotations/m-p/468762#M45673</link>
      <description>&lt;P&gt;Right, been staring at this for ages but it seems to be solved. &lt;/P&gt;

&lt;P&gt;It was suggested to only select the moments to place the annotation from the search rather then look for them from the result.&lt;/P&gt;

&lt;P&gt;Changed the annotation query to&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="bla" | search inPercentUtil&amp;gt;65 AND Percent_CPULoad&amp;gt;90
| eval annotation_category="Critical"
| eval annotation_label="Insert_Message"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now it is working. &lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 12:33:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Too-much-annotations/m-p/468762#M45673</guid>
      <dc:creator>wbolten</dc:creator>
      <dc:date>2020-02-07T12:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Too much annotations</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Too-much-annotations/m-p/468763#M45674</link>
      <description>&lt;P&gt;Great news!&lt;/P&gt;

&lt;P&gt;I have converted your comment to an answer. Please accept it so others can see how you resolved your issue.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 13:53:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Too-much-annotations/m-p/468763#M45674</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2020-02-07T13:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Too much annotations</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Too-much-annotations/m-p/468764#M45675</link>
      <description>&lt;P&gt;Thank you, I have done so. &lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 14:00:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Too-much-annotations/m-p/468764#M45675</guid>
      <dc:creator>wbolten</dc:creator>
      <dc:date>2020-02-07T14:00:44Z</dc:date>
    </item>
  </channel>
</rss>

