Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fleet] Add support for input logging configuration to Agent Policies #125956

Open
joshdover opened this issue Feb 17, 2022 · 1 comment
Open
Labels
Supportability Improve our (devs, SREs, support eng, users) ability to troubleshoot/self-service product better. Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@joshdover
Copy link
Contributor

Depends on elastic/elastic-agent#143

Agent would like to add support for setting the logging settings on an individual input basis, with a default that falls back to the Agent's overall logging settings. To provide this default, Fleet should supply a fallback in the agent policy on each input:

id: my-policy
agent:
  monitoring:
    # ...
outputs:
  # ...
fleet.hosts: ''
inputs:
  - id: <uuid>
    type: logfile
    logging:
      # TBD on env var names
      level: "${env.ELASTIC_AGENT_LOGGING_LEVEL | 'error'}"
      selectors: "${env.ELASTIC_AGENT_LOGGING_SELECTORS | '[beat]'}"
@joshdover joshdover added Team:Fleet Team label for Observability Data Collection Fleet team Supportability Improve our (devs, SREs, support eng, users) ability to troubleshoot/self-service product better. labels Feb 17, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Supportability Improve our (devs, SREs, support eng, users) ability to troubleshoot/self-service product better. Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

No branches or pull requests

2 participants