Skip to content

Consolidate eventstats into one subsearch in a foreach command  #1

@doksu

Description

@doksu

The search has 5 similar eventstats commands. We should be able to consolidate those into one subsearch using the foreach command as seen below, however it fails with the error: "Error in 'foreach' command: Search pipeline may not contain non-streaming commands".

... | foreach autonomous_system period date_wday app dest [eventstats count as <>_count by user, <>]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions