Welcome to this guide on how to enhance your Kibana Dashboard by using conditional appearance. In this tutorial, you’ll learn how to modify the visual styling of a dashboard element based on specific conditions, making it easier to spot critical issues at a glance. Imagine a scenario where you track the Out-of-Stock count on your dashboard. Suppose the dashboard shows 450 events in the last 60 minutes—450 potential lost orders due to out-of-stock conditions. To immediately draw attention to such concerning figures, you can set up the dashboard to change the color of the record count when the number of events exceeds a certain threshold, such as 400.Documentation Index
Fetch the complete documentation index at: https://notes.kodekloud.com/llms.txt
Use this file to discover all available pages before exploring further.
In this demo, if the total Out-of-Stock events exceed 400 within a 60-minute window, the record count will automatically display in red.
Setting Up Conditional Appearance
Follow these steps to configure the conditional appearance for your dashboard:- Open your Dashboard and click on Edit Filters.
- Select Count of Records and navigate to the Color by Value section.
- Choose the Text option and click on Edit Colors.
- Remove the existing color options.
- Add a new rule: if the value is greater than 400, change the text color to red.
- Close the settings panel and save your changes.

Testing the Conditional Appearance
To further illustrate the conditional formatting feature, try adjusting the time frame on your dashboard. For example, if you change the time frame to include only the last 30 minutes and click Update, the record count (224 in this case) remains in the default black color because the count does not surpass the 400 threshold:
Be sure to verify that the event thresholds match the operational requirements of your monitoring setup to ensure that alerts are both meaningful and actionable.
Benefits of Conditional Appearance
Implementing conditional formatting on your live dashboards offers several advantages:| Benefit | Description |
|---|---|
| Immediate Visual Alerts | Quickly spot critical issues by highlighting panels that exceed defined thresholds. |
| Enhanced Monitoring | Focus attention on potential problem areas, making it easier to address issues promptly. |
| Improved Decision-Making | Provide a clear visual representation of data trends, leading to more informed operational decisions. |