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

TSVB Markdown, display the last value for a text field sorted by timestamp e.g. service.state #73966

Closed
Tracked by #57708
sachin-frayne opened this issue Jul 31, 2020 · 3 comments
Labels
Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@sachin-frayne
Copy link

sachin-frayne commented Jul 31, 2020

Describe the feature: Ability to display the last value of a field that Elasticsearch has received sorted by @timestamp inside the TSVB Markdown widget.

Describe a specific use case for the feature: If I have some services that are sending values for their status through, I may want to build a dashboard that has many of these services displayed and in this case real estate is important. The Markdown editor inside the TSVB seemed like a good case to add some specific custom text as well as some coloring. It can also be shrunk on the dashboard much smaller than the Metric Visual, however, it cannot display the value for a text field, it is currently written to work with aggregations.

It would also be great if we can change the background color depending on the value of the field.

An example of how I want it to be displayed can be seen in the image below:

Screenshot from 2020-07-31 16-28-14

In theory, this could also be done inside the Markdown visualization, but given it is a timeline question, (what is my latest status), it felt more like TSVB would solve it.

@sachin-frayne sachin-frayne added Feature:Markdown Markdown visualization feature Feature:TSVB TSVB (Time Series Visual Builder) labels Jul 31, 2020
@timroes timroes added Team:Visualizations Visualization editors, elastic-charts and infrastructure and removed Feature:Markdown Markdown visualization feature labels Oct 2, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@ghudgins ghudgins changed the title TSVB Markdown, display the last @timestamp value for a text field e.g. service.state TSVB Markdown, display the last value for a text field sorted by timestamp e.g. service.state Aug 16, 2022
@ghudgins
Copy link
Contributor

Here's a workaround today -

  • use aggregation-based metric vis
  • apply a field formatter for the color for the UP / DOWN field

We have plans to offer a more streamlined way of doing this with the lens metric visualization

@stratoula
Copy link
Contributor

I think this can nicely be done with the new Lens metric, I suggest using this instead of the markdown component

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

No branches or pull requests

5 participants