Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

contents of fields of query resulting dataset from monitor #392

@anatole72

Description

@anatole72

I need to message after trigger is done
not only value like this
return ctx.results[0].aggregations.when.value == null ? false : ctx.results[0].aggregations.when.value > 1000

but also contents of fields of query resulting dataset from monitor
from which this trigger made alert

how to do this how to show which response was

when I use discover with the same query i see
the result of the dataset of fields that caused this trigger to act

but how to do this programmatically to show all resulting datasets with fields in monitor
as we see for example in SQL query result

Also i need feature to copy alert's monitor to new ones that will very helpfull

I have 60 alerts that should be prepared manually

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions