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-name string required
The name of the service
--environment string
The environment to filter annotations by
--start string
The start date for the search
--end string
The end date for the search
--input-file string
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)
--no-validate
skip input validation and send the request as-is
--output-fields string
comma-separated list of fields to include in output (dot-notation supported)
--output-template string
Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json

output as JSON