Spaces method and path for this operation:
get /s/{space_id}/api/fleet/agent_status/data
Refer to Spaces for more information.
Get the data streams that an agent is actively sending data to.
[Required authorization] Route required privileges: fleet-agents-read.
GET
/api/fleet/agent_status/data
curl \
--request GET 'https://<KIBANA_URL>/api/fleet/agent_status/data?agentsIds=string' \
--header "Authorization: $API_KEY"
Response examples (200)
Data streams the agent is actively sending data to
{
"items": [
{
"data": {
"logs-nginx.access-default": [
{
"id": "agent-id-1",
"name": "my-host"
}
]
}
}
],
"total": 1,
"totalMonitoring": 0
}
Response examples (400)
Example of a generic error response
{
"error": "Bad Request",
"message": "An error message describing what went wrong",
"statusCode": 400
}