What is the bug?
Importing a rule with aggregation throws an error.

It looks like `count()` is not supported, and OpenSearch requires `count(*)`, which is not consistent with Sigma syntax.
How can one reproduce the bug?
Steps to reproduce the behavior:
- Go to 'http://localhost:5601/app/opensearch_security_analytics_dashboards#/import-rule'
- Click on 'Create rule'
- Switch to YAML editor
- Paste the rule
- Select "Create detection rule"
- See error
What is the expected behavior?
Ideally OpenSearch should convert Sigma into a valid detection rule behind the scenes when the difference in syntax is known.
What is the bug?
Importing a rule with aggregation throws an error.
How can one reproduce the bug?
Steps to reproduce the behavior:
What is the expected behavior?
Ideally OpenSearch should convert Sigma into a valid detection rule behind the scenes when the difference in syntax is known.