How get average agregation without negative value in field

Tell me how to exclude negative values ​​from aggregation?

you can use a global filter to exclude negatives. See https://www.elastic.co/guide/en/kibana/current/filters.html for details

no, this is hardly suitable for me, I have a visualization - a data table, I need to do an average aggregation by a certain field in the index, but exclude negative values ​​from the aggregation, how can I do this?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.