stack kb apm-annotations get-annotation cli command
Auth required
Idempotent
Scope: global
elastic stack kb apm-annotations get-annotation \
--service-name <service-name> \
[options]
Search for annotations
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--service-namestringrequired- The name of the service
--environmentstring- The environment to filter annotations by
--startstring- The start date for the search
--endstring- The end date for the search
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON