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

contents of fields of query resulting dataset from monitor #392

Open
anatole72 opened this issue Nov 19, 2021 · 0 comments
Open

contents of fields of query resulting dataset from monitor #392

anatole72 opened this issue Nov 19, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@anatole72
Copy link

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

@anatole72 anatole72 added the enhancement New feature or request label Nov 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants