stack kb apm-agent-configuration search-single-configuration cli command
Auth required
elastic stack kb apm-agent-configuration search-single-configuration \
--service <service> \
[options]
Lookup single agent configuration
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--servicestringrequired--errorstring- If provided, the agent configuration will be marked as error and
applied_by_agentwill be set tofalse. This is useful for cases where the agent configuration was not applied successfully. --etagstring- If etags match then
applied_by_agentfield will be set totrue --mark-as-applied-by-agentmarkAsAppliedByAgent=truemeans "force setting it to true regardless of etag". This is needed for Jaeger agent that doesn't have etags--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