-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Team:FleetTeam label for Observability Data Collection Fleet teamTeam label for Observability Data Collection Fleet teamv7.11.0
Description
Description
Related to elastic/beats#20756
We want to allow an user to change the log level for an agent
We decided that we are going to create a new agent action for that, and to not have a concept of per agent policy.
Details
Kibana Change
We can use the existing route POST /api/fleet/agents/{agentId}/actions to create a new AgentAction to update the log level for an agent.
Agent action
{
"type": "SETTINGS",
"data" : {
"log_level": "debug"|"info"|"warning"|"error"
}
}When the agent receive this action it should update the log level, for itself and his subprocesses
@michalpristas can the agent send the log_level as part of the metadata?
UI change
@hbharding How do we want to present the ability to configure the log level for one Agent?
Metadata
Metadata
Assignees
Labels
Team:FleetTeam label for Observability Data Collection Fleet teamTeam label for Observability Data Collection Fleet teamv7.11.0