Difference between revisions of "OpenSearch Monitor"
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
* [[OpenSearch destination]] | * [[OpenSearch destination]] | ||
* <code>[[destination_id]]</code> | * <code>[[destination_id]]</code> | ||
− | * <code>[[_plugins/_alerting/]]monitors/alerts</code> | + | * Get alerts: <code>[[_plugins/_alerting/]]monitors/alerts</code> |
== See also == | == See also == |
Revision as of 16:34, 22 April 2022
- API: https://opensearch.org/docs/latest/monitoring-plugins/alerting/api/
- https://opensearch.org/docs/latest/monitoring-plugins/alerting/monitors/#create-monitors
_alerting/monitors/
{ "size": 0, "query": { "match_all": {} }, "aggs": { "avg_cpu": { "avg": { "field": "cpu_usage" } } } }
Related
- OpenSearch destination
destination_id
- Get alerts:
_plugins/_alerting/monitors/alerts
See also
Advertising: