elastic / elastic-agent

Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`log_level` metadata is not accurate

jen-huang opened this issue · comments

Follow up to the discussion in elastic/kibana#180778

Reproduction:

  1. Enroll a new agent into a policy that already has log level set to debug
  2. Observe that the agent successfully sent debug logs
  3. View agent document, observe that local_metadata.elastic.agent.log_level is reporting info even though it is running at debug level from its policy

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

FYI where it's used in kibana
Screenshot 2024-05-16 at 11 29 16 AM

FYI where it's used in kibana

Also displayed on the details tab :

image