-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Access aggregate_metric_double fields from runtime fields and scripts #96480
Comments
Pinging @elastic/es-analytics-geo (Team:Analytics) |
Related to #88534 |
Right now the ability to access these fields is available through the Fields API like demonstrated by the following YAML test:
Access to one of the aggregate values is provided by taking advantage of |
My understanding is that, at the moment, we are not able to expose all metrics under the aggregate metric field because accessing the value returns an array and we have no way to index into that array by means of a keyword like |
@giladgal FYI |
Pinging @elastic/es-storage-engine (Team:StorageEngine) |
Description
Customers need the ability to process indices and/or data streams including both raw data and downsampled data using ingest pipelines (configured, for instance with
index.default_pipeline
andindex.final_pipeline
).When an index is downsampled, downsampling target indices have slightly different mappings and settings which might prevent pipeline scripts or runtime fields to work correctly. Ideally they would like to have a mechanism that is as easy as possible to use and that allows them to seamlessly process raw data and downsampled data using runtime fields and/or scripts without having to care much about whether the index includes raw data or downsampled data and such that they don't have to maintain multiple scripts (one for raw data and one for downsampled data).
Right now the main obstacle is about having the ability to access fields of type
aggregate_metric_double
that the downsampling operation creates when downsampling some metric fields. We need support for accessing such fields from pipeline scripts and runtime fields to start with.Related to #96478.
The text was updated successfully, but these errors were encountered: