Hi,
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.
When a certain combination of values is e...
See more...
Hi,
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.
When a certain combination of values is exceeded I want to place an annotation to highlight this. As shown in this example.
What I cannot seem to get rid off are the orange annotations that seem to be placed when the condition is not matched.
The search is as follows. In this I am evaluating and updating the label and the category.
<search type="annotation">
<query>index="bla"
| timechart span=1m avg(inPercentUtil) as inPercentUtil avg(Percent_CPULoad) as Percent_CPULoad
| eval critical=if(inPercentUtil>65 AND Percent_CPULoad>90,"Yes","No")
| eval annotation_category=case(critical="Yes","Critical")
| eval annotation_label=case(critical="Yes","Insert_Message")
</query>
What should I do to stop the orange markers from showing? I don't even specify a color for the annotations.
<option name="charting.annotation.categoryColors">{"Critical":"0xe60000"}</option>