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

Debug level logs are generated without setting logging level to debug for elastic-agent.filebeat/metricbeat datasets. #1801

Closed
amolnater-qasource opened this issue Nov 28, 2022 · 7 comments
Labels
bug Something isn't working impact:high Short-term priority; add to current release, or definitely next. QA:Validated Validated by the QA Team Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team v8.6.0

Comments

@amolnater-qasource
Copy link

Kibana version: 8.6 BC3 kibana cloud environment

Host OS and Browser version: All, All

Build details:

VERSION: 8.6.0 BC3 Kibana cloud environment
BUILD: 58560
COMMIT: d4567dc2eaa4f59503c1822e1f10bf0292b97066
Artifact Link: https://staging.elastic.co/8.6.0-94db6bc6/downloads/beats/elastic-agent/elastic-agent-8.6.0-windows-x86_64.zip

Preconditions:

  1. 8.6 BC3 kibana cloud environment should be available.
  2. Never set logging level to debug.

Steps to reproduce:

  1. Navigate to Fleet tab.
  2. Install agents using Agent policy having only System integration.
  3. Navigate to agent logs tab.
  4. Observe Debug level logs are generated for elastic-agent.filebeat/metricbeat datasets.

elastic-agent.yml:
elastic-agent.zip

Logs:
logs.zip

Screenshot:
7

Expected Result:
Debug level logs should not be generated without setting logging level to debug for elastic-agent.filebeat/metricbeat datasets.

What's not working fine:

  • This issue is also reproducible for Windows, MAC and Linux agents.
@amolnater-qasource amolnater-qasource added bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team impact:high Short-term priority; add to current release, or definitely next. labels Nov 28, 2022
@manishgupta-qasource
Copy link

Secondary review for this ticket is Done

@cmacknz
Copy link
Member

cmacknz commented Nov 29, 2022

This should be fixed by #1702, which is not in 8.6 yet.

@cmacknz cmacknz added the v8.6.0 label Nov 29, 2022
@cmacknz
Copy link
Member

cmacknz commented Nov 29, 2022

I also think this issue existed before 8.6

@cmacknz
Copy link
Member

cmacknz commented Nov 30, 2022

Will be resolved in the next BC or snapshot build.

@jlind23
Copy link
Contributor

jlind23 commented Dec 7, 2022

@amolnater-qasource would you mind checking this one again please?

@jlind23 jlind23 added the QA:Ready For Testing Code is merged and ready for QA to validate label Dec 7, 2022
@amolnater-qasource
Copy link
Author

Hi @jlind23
We have revalidated this issue on latest 8.6 BC6 kibana cloud environment and observed this issue is fixed now.

Observations:

  • Debug level logs are not generated without setting logging level to debug for elastic-agent.filebeat/metricbeat datasets.

Validated OS's:

  • Windows, Linux and MAC

Build details:
8.6 BC6 kibana cloud environment
BUILD: 58740
COMMIT: f329a77595950244361736dff7208a810299fd69

Screenshots:
8
9

Logs:
[Debug]elastic-agent-diagnostics-2022-12-08T09-35-36Z-00.zip

Hence we are closing this issue and marking this issue as QA:Validated.

Thanks

@amolnater-qasource amolnater-qasource added QA:Validated Validated by the QA Team and removed QA:Ready For Testing Code is merged and ready for QA to validate labels Dec 8, 2022
@ghost
Copy link

ghost commented Jan 23, 2023

Bug Conversion:

We have updated 01 testcase for this scenario in our fleet test suite at:

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working impact:high Short-term priority; add to current release, or definitely next. QA:Validated Validated by the QA Team Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team v8.6.0
Projects
None yet
Development

No branches or pull requests

4 participants