# Flashing icon to indicate abnormalities

**URL:** <https://discuss.elastic.co/t/flashing-icon-to-indicate-abnormalities/225631>\
**Category:** Kibana\
**Created:** [March 30, 2020, 8:38am UTC](https://discuss.elastic.co/t/flashing-icon-to-indicate-abnormalities/225631 "2020-03-30T08:38:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ko5win](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@ko5win](https://discuss.elastic.co/u/ko5win)\
**Post date:** [March 30, 2020, 8:38am UTC](https://discuss.elastic.co/t/flashing-icon-to-indicate-abnormalities/225631/1 "2020-03-30T08:38:10Z")

</div>

I have time series data coming into elasticsearch/kibana and the data is updated in real time inside TSVB's markdown feature. How do I implement a feature whereby if the latest data coming in exceeds a certain set threshold, then display a flashing icon and change the markdown's text color from for example, green to red? I was thinking along the lines of hiding/displaying the alarm icon image which loads from an url. Any suggestions?

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [March 31, 2020, 8:07pm UTC](https://discuss.elastic.co/t/flashing-icon-to-indicate-abnormalities/225631/2 "2020-03-31T20:07:35Z")

</div>

You can access variables in tsvb markdown widget, [https://www.elastic.co/guide/en/kibana/7.6/TSVB.html](https://www.elastic.co/guide/en/kibana/7.6/TSVB.html), but it is not possible to add conditional logic in markdown.

You could display a metric and then set the text color/backbround color based on thresholds.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 28, 2020, 8:07pm UTC](https://discuss.elastic.co/t/flashing-icon-to-indicate-abnormalities/225631/3 "2020-04-28T20:07:36Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
