# Color in a field in the dashboard

**URL:** <https://discuss.elastic.co/t/color-in-a-field-in-the-dashboard/245218>\
**Category:** Kibana\
**Created:** [August 17, 2020, 10:26am UTC](https://discuss.elastic.co/t/color-in-a-field-in-the-dashboard/245218 "2020-08-17T10:26:22Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [August 17, 2020, 11:56am UTC](https://discuss.elastic.co/t/color-in-a-field-in-the-dashboard/245218/4 "2020-08-17T11:56:54Z")

</div>

You can use a data table or saved search to do this for one way.

Basically you make a scripted field that colors the text based on the value. `UP` would green and `DOWN` would be red.

> [@Conditional color change in Metric Widget](https://discuss.elastic.co/t/conditional-color-change-in-metric-widget/120327/3):
>
> Here's an example where I set the conditional formatting of my @tags field so that success is green, and info is blue; And here in Discover I can see a green success value; And this works in at least some visualizations like this Data Table (but note that for Discover I had to set the color conditional for the analyzed @tags field and for Visualizations I had to set the same color conditional formatting on the @tags.raw field);

---

_[View the full topic](https://discuss.elastic.co/t/color-in-a-field-in-the-dashboard/245218)._
