stack kb alerting-v2 post-alerting-v2-alerts-group-hash-tag cli command
Auth required
elastic stack kb alerting-v2 post-alerting-v2-alerts-group-hash-tag \
--group-hash <group-hash> \
--tags <tags> \
[options]
Add tags to an alert
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--group-hashstringrequired- Hash identifying the alert group to apply the action to.
-
List of tags to add to the alert.
Repeatable: pass
--tagsmultiple times to supply more than one value --input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--json-
output as JSON