-
Notifications
You must be signed in to change notification settings - Fork 140
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
No debug level logs are generated on changing log level to debug. #2012
Comments
@manishgupta-qasource Please review. |
Secondary review for this ticket is Done |
cannot reproduce locally. |
Hi @michalpristas Observations:
Build details: Screen Recording: Agents.-.Fleet.-.Elastic.-.Google.Chrome.2022-12-29.13-04-28.mp4Agents.-.Fleet.-.Elastic.-.Google.Chrome.2022-12-29.12-53-27.mp4Linux Logs: Windows Logs: Please let us know if anything else is required from our end. Thanks |
@amolnater-qasource could you revalidate with SNAPSHOT? |
Hi @michalpristas Observations:
Please let us know if anything else is required from our end. |
The agent here is affected by elastic/beats#34137 which will be fixed in BC10. |
The filestream monitoring instance is being left without an output configuration because of the bug in elastic/beats#34137
The filestream monitoring component is restarted before transitioning to the failed state because the initial configuration is provided with no configuration. {"log.level":"info","@timestamp":"2022-12-29T07:27:46.819Z","message":"beat is restarting because output changed","component":{"binary":"filebeat","dataset":"elastic_agent.filebeat","id":"filestream-monitoring","type":"filestream"},"log.logger":"centralmgmt.V2-manager","log.origin":{"file.line":503,"file.name":"management/managerV2.go"},"service.name":"filebeat","ecs.version":"1.6.0","ecs.version":"1.6.0"}
{"log.level":"error","@timestamp":"2022-12-29T07:27:57.411Z","log.origin":{"file.name":"coordinator/coordinator.go","file.line":833},"message":"Unit state changed filestream-monitoring-filestream-monitoring-agent (STARTING->FAILED): [output unit has no config]","component":{"id":"filestream-monitoring","state":"HEALTHY"},"unit":{"id":"filestream-monitoring-filestream-monitoring-agent","type":"input","state":"FAILED","old_state":"STARTING"},"ecs.version":"1.6.0"}
{"log.level":"error","@timestamp":"2022-12-29T07:27:57.411Z","log.origin":{"file.name":"coordinator/coordinator.go","file.line":833},"message":"Unit state changed filestream-monitoring (STARTING->FAILED): [output unit has no config]","component":{"id":"filestream-monitoring","state":"HEALTHY"},"unit":{"id":"filestream-monitoring","type":"output","state":"FAILED","old_state":"STARTING"},"ecs.version":"1.6.0"}
|
Hi @cmacknz Observations:
Build details: Screen Recording: Agents.-.Fleet.-.Elastic.-.Google.Chrome.2023-01-05.15-14-05.mp4Before reboot Logs: Please let us know if anything else is required from our end. |
Thanks the missing agent debug logs are likely caused by #1955, the agent also has few messages it logs at the debug level as part of normal operation. |
Thank you for confirming @cmacknz |
Kibana version: 8.6 Snapshot kibana cloud-staging environment
Host OS and Browser version: All, All
Build details:
Preconditions:
Steps to reproduce:
debug
for agents under agent logs.Logs:
elastic-agent-diagnostics-2022-12-26T07-53-38Z-00.zip
Screenshot:
Related issue:
#1912
Expected Result:
Debug level logs should be generated on changing log level to debug.
The text was updated successfully, but these errors were encountered: