-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Error handling and resolution for user/custom dashboards no longer working because of TSDB unsupported aggregations #160040
Comments
There are two milestones we need to guide users to achieve: |
Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations) |
Couple of recent offline threads where custom dashboards got broken, because a field is now a TSDB counter. Need a compressive document to assist the user migration process for the custom dashboards.
reported a customer complaining why they cannot perform an
This is associated with the K8s switch to TSDB GA.
|
@martijnvg will work on adding documentation and work with docs team on where it lives. |
Link to ES issue: "Enable all aggregations on counter fields"- elastic/elasticsearch#97882 |
Capturing below a brief summary of the behaviour of custom dashboards in Kibana while using un-supported counter aggregations. This is fixed as part of elastic/elasticsearch#97974
@dej611 @salvatore-campagna @martijnvg, Please update if this is accurate. |
A user should not be able to create a visualization with un-supported counter aggregations within Lens, the editor should prevent to build and save such configuration. If some user manually builds the visualization via manually write the SO, then the other "relaxed" check will kick in.
Yes, there's a warning showing up in this case but the visualization will be rendered. |
Thanks @dej611 for the clarifications. @harnish-elastic, Please check with one custom dashboard for a TSDB enabled package, to verify that both the behaviours captured above are working. |
@lalit-satapathy and @dej611, I have performed the above-mentioned scenarios on the cloud elastic. However, I am not able to get the warning in 8.9.1 kibana! Please refer to the below steps that I have performed! Summary:
Output:
Screenshots: Let me know if there is anything else I can perform to re-produce the warning! |
The backport had some bumps and it seems that it didn't make it to 8.9.1 but rather in 8.9.2: #163515 |
@harnish-elastic, Please confirm that it is working 8.9.2 |
@lalit-satapathy I have performed the same steps mentioned in this comment. However, I still cannot see the warning message in the visualizations. Let me know if there is anything else I can perform to re-produce the warning! |
What about 8.10? |
Hey, can we close this issue? |
I'm going to close this issue, please reopen it if the problem persist in 8.14 or higher |
As a part of TSDB migration - elastic/integrations#5233, some metrics were set to type
counter
, this type does not support all available aggregations. OOTB dashboards were adjusted accordingly, but for custom dashboards should be provided more helpful error messages.Example:
For fields with the type: counter,
avg
aggregation is not supported (as other aggregation, exceptmax
andlast_value
)Error message is not really descriptive, would be helpful to add clarification, that supported aggregations for this type are
max
orlast_value
The text was updated successfully, but these errors were encountered: