# Create a widget that change the color especially for uptime dashboard

**URL:** <https://discuss.elastic.co/t/create-a-widget-that-change-the-color-especially-for-uptime-dashboard/340323>\
**Category:** Kibana\
**Created:** [August 8, 2023, 5:53am UTC](https://discuss.elastic.co/t/create-a-widget-that-change-the-color-especially-for-uptime-dashboard/340323 "2023-08-08T05:53:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sixsenseninja](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sixsenseninja/32/101001_2.png) [@sixsenseninja](https://discuss.elastic.co/u/sixsenseninja)\
**Post date:** [August 8, 2023, 5:53am UTC](https://discuss.elastic.co/t/create-a-widget-that-change-the-color-especially-for-uptime-dashboard/340323/1 "2023-08-08T05:53:41Z")

</div>

Is there a way to create a widget in Kibana that able to change its color when hit certain threshold? for Example below, we have widget that will turn to orange when hit 80% and red if it is hit 90%. Below was captured from another enterprise solution.

i know this is possible when on canvas, but i am not there yet in canvas.

![image](https://us1.discourse-cdn.com/elastic/original/3X/e/d/ed917d2931cf4cbb40698e6785bfb0d079a3a8a9.png)

---

<div class="post-metadata">

**Author:** ![Priscilla\_Parodi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/priscilla_parodi/32/43047_2.png) [@Priscilla\_Parodi](https://discuss.elastic.co/u/Priscilla_Parodi)\
**Post date:** [August 30, 2023, 7:08pm UTC](https://discuss.elastic.co/t/create-a-widget-that-change-the-color-especially-for-uptime-dashboard/340323/2 "2023-08-30T19:08:39Z")

</div>

Hello @sixsenseninja,

I can't think of a way to do this without Canvas. If you choose to use it in the future, the example mentioned [here](https://discuss.elastic.co/t/canvas-conditional-statement/270495/2) could be helpful.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [August 30, 2023, 7:51pm UTC](https://discuss.elastic.co/t/create-a-widget-that-change-the-color-especially-for-uptime-dashboard/340323/3 "2023-08-30T19:51:46Z")

</div>

Hi @sixsenseninja  
Metrics in Lens can change colors depending on the value.  
What version are you on?

It would not be a custom widget.... But you can color based on value

 ![Screenshot 2023-08-30 at 1.08.10 PM](https://us1.discourse-cdn.com/elastic/original/3X/2/0/20d2b4413ceb2a4335189f4a8bc68ebda4396f2f.png)

---

<div class="post-metadata">

**Author:** ![sixsenseninja](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sixsenseninja/32/101001_2.png) [@sixsenseninja](https://discuss.elastic.co/u/sixsenseninja)\
**Post date:** [September 5, 2023, 3:41am UTC](https://discuss.elastic.co/t/create-a-widget-that-change-the-color-especially-for-uptime-dashboard/340323/4 "2023-09-05T03:41:58Z")

</div>

yea. i also think the same thing.. i should start exploring canvas now... thanks for the input.

---

<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:** [October 3, 2023, 3:42am UTC](https://discuss.elastic.co/t/create-a-widget-that-change-the-color-especially-for-uptime-dashboard/340323/5 "2023-10-03T03:42:39Z")

</div>

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