Skip to content

Support to exclude (big) query results from .watcher-history #36719

@ypid-geberit

Description

@ypid-geberit

Describe the feature:

When running my aggregated_issues_in_logs watch over a large number of documents the watch finds and aggregates a large number of documents that are then indexed into a new index in ES. The issues is that the whole watch run with all results is written to .watcher-history-* as one document. This results in very big documents (result.input.payload and result.transform.payload). The practical issue with this is that the watch history list in Kibana (Management -> Elasticsearch -> Watcher -> Watches -> log_issues) is unable to show more than one watch execution.

It would be helpful if some "filter_path"/"exclude_filter_path" could be specified in the watch definition which should end up in .watcher-history-*.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions