I have a field that has the expiry date of an SSL certificate. The field is in form of a Date. I need to create a visualization with color to show when the date is nearing as follows:
Show Yellow when the date is 30 days or less, but not less than 10
Red when 10 days or less are remaining.
I would like to use the alert feature when the above conditions are met.
sure, you can build something like that with a Lens Metric chart, leveraging the power of Lens formula.
Start with a Dashboard, then create a visualization, that will lead you to the Lens editor, and pick the Metric chart type.
Now define a Primary metric as follow:
Now save and return back to the dashboard. Click the top-right ... icon of the panel and choose Settings to configure a custom time range for the panel:
Now the panel will always point to the last day (no matter what time range you pick in the dashboard) and will change the color based on the field value:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.