Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Visualization] Need a new visualization type 'Status Panel' to display status or strings #197054

Closed
vinaydhegde opened this issue Oct 21, 2024 · 3 comments
Labels
Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@vinaydhegde
Copy link

Describe the feature:
Just like Visualization type 'Metric', which is used for displaying numeric values, we need a new visualization type for displaying the strings or status.

Describe a specific use case for the feature:
For example, we would like display the status of PostgreSQL server (like UP or DOWN). If I use, a Metric visualization type, I can only display the numbers.

Image

@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 21, 2024
@mbondyra mbondyra added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Oct 28, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations (Team:Visualizations)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Oct 28, 2024
@mbondyra
Copy link
Contributor

mbondyra commented Oct 28, 2024

Hi @vinaydhegde, you can actually use 'last value' operation to display a string. I'll close this issue but feel free to reopen if your usecase includes something I missed.
If you need to display the string up when the value of the field is 1 and down when it's 0, you can use runtime field for it.

Image

@Erikg346
Copy link

Erikg346 commented Oct 28, 2024

Hey @mbondyra,

The request wants to use keywords but allow the ability to dynamically change the color based on the value. Like for example, "up" = green or "down" = red.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

4 participants