Get an agent
Get an agent by ID.
[Required authorization] Route required privileges: fleet-agents-read.
Responses
-
Hide response attribute Show response attribute object
-
Additional properties are NOT allowed.
Hide item attributes Show item attributes object
-
Additional properties are allowed.
-
Hide components attributes Show components attributes object
-
Values are
STARTING
,CONFIGURING
,HEALTHY
,DEGRADED
,FAILED
,STOPPING
, orSTOPPED
.
-
Values are
error
,online
,degraded
,updating
, orstarting
. -
Additional properties are allowed.
-
Additional properties are NOT allowed.
-
Hide outputs attribute Show outputs attribute object
-
Additional properties are NOT allowed.
-
-
Values are
offline
,error
,online
,inactive
,enrolling
,unenrolling
,unenrolled
,updating
,degraded
,uninstalled
, ororphaned
. -
Values are
PERMANENT
,EPHEMERAL
, orTEMPORARY
. -
Values are
input
,output
, orother
. -
Additional properties are NOT allowed.
Hide upgrade_details attributes Show upgrade_details attributes object | null
-
Additional properties are NOT allowed.
Hide metadata attributes Show metadata attributes object
-
Values are
UPG_REQUESTED
,UPG_SCHEDULED
,UPG_DOWNLOADING
,UPG_EXTRACTING
,UPG_REPLACING
,UPG_RESTARTING
,UPG_FAILED
,UPG_WATCHING
, orUPG_ROLLBACK
.
-
Additional properties are allowed.
-
-
curl \
--request GET 'https://<KIBANA_URL>/api/fleet/agents/{agentId}' \
--header "Authorization: $API_KEY"