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

[8.7] [data views] Time series counter fields are not aggregatable (#150954) #151240

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.7:

Questions ?

Please refer to the Backport tool documentation

## Summary

Part of elastic/elasticsearch#93539

Currently, field caps reports time series counter fields as aggregatable
as they support several aggs. Unfortunately, they don't support ALL aggs
so its possible create an unsupported agg in Kibana which results in an
ES error. In order to prevent this, the data view field list will report
all time series counter fields as non-aggregatable until support for
specific aggs can be provided throughout Kibana.

To test - Create a TSDS with a time series counter field and verify that
its not aggregatable in data view management. Also check other apps to
make sure the field isn't available for aggregations.
https://www.elastic.co/guide/en/elasticsearch/reference/master/set-up-tsds.html

### Checklist

Delete any items that are not applicable to this PR.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

(cherry picked from commit 410f019)
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @mattkime

@kibanamachine kibanamachine deleted the backport/8.7/pr-150954 branch February 15, 2023 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants