Open flash1293 opened 1 year ago
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors)
Setting in Lens (markdown) for the analyst (author) to overwrite the "No results" page.
The original intent of this issue (coming from an SDH) was to have the ability to define how missing information should be handled in a visualization (in particular in a visualization like a metric when only a single value is visible). For example:
0
when I don't have any error logs in my cluster instead of no results
.N/A
or -
because 0
in this case is semantically wrong.no results
could be a valid text.I think we can be 95% of the time handled automatically knowing the aggregation and the chart type. But please correct me if I'm wrong and the request is different
From my understanding when discussing this feature with @flash1293 is that this is a request from the solutions teams. They would like to give the chart authors the ability to change the No results screen on something more chart specific.
What you describe is another enhancement we want to do but I am not sure if we have an issue for that tbh.
In Kubernetes Integration dashboards we can see two types of errors:
Not Found Error
: https://github.com/elastic/integrations/issues/4577No data Error
: https://github.com/elastic/integrations/issues/4608This issue had been created initially to track both above situations. So first question is, can we handle both different situations with new feature of this story?
Ideally we would like to provide a markdown text with information to the customer to guide him to external links why he does not see specific metrics. For eg. we know that for the first case #4577 we can redirect him to a link for GKE cluster. Can we do this ?
Thanx for the input @gizas! I also discussed it with @MichaelKatsoulis and they want something similar.
I think that this issue is very tight with this https://github.com/elastic/kibana/issues/143673 (not fail on missing fields)
They would like to show warning instead of errors on missing fields or missing indices and also customize the warning message
We will discuss it with the team and get back to you :)
Thank you @stratoula ! Indeed we had the same discussion for #143673 and they seem similar to me as well! If we can combine all of them will be great
This related issue also has been opened https://github.com/elastic/kibana/issues/148828 and closed again as this issue already covers it mostly, but good to read for more details.
It should be possible to show a customized message instead of the default "No results" message if visualizations are not hitting any data. This way, the visualization author can provide hints for analysts wondering why no data is showing up on the dashboard.