-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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] The log level feature in UI is showing logs for a given libbeat line and we don't see it associated correctly with the log level #22858
Comments
Pinging @elastic/ingest-management (Team:Ingest Management) |
so looks like logs logged by the agent are logged with the field |
It should be I will reassign it to @michalpristas, didn't we turn off the ecs log format for the running process? As a side node @ferullo is your endpoint logging ECS compliant? |
Endpoint logs are ECS compliant. If you find they aren't that's a bug in Endpoint. |
I think what you are seeing here is that because all beats are started at #19179 documents the real issue, this seems to be a side-effect. |
Ok, I though we change the default of beats to info this is not the case? |
Maybe we did? If so should close the #19179 issue. @michalpristas ^ can you confirm? Thought beats were still running at a higher level. |
yep we changed it to info some time ago when making log level reloadable |
@michalpristas Maybe the fix was the incorrect one and we should just align the version? |
even if versions are aligned field is reported twice, which is not nice. i will drop one of the fields added by lib and turn on ecs back |
@EricDavisX this got closed with the PR please reopen if you see this behavior again, i checked events and they have correct log level field now |
Hi @EricDavisX While performing exploratory testing on 8.0.0 kibana cloud build today, we have observed that no-specific level logs get generated at logs UI on specific search. Pre-condition:
Steps to reproduce:
As per our understanding, whenever we change agent logging level, no-specific level logs are generated at backend. Hence, we are reopening this issue. |
I don't know if the last research @dikshachauhan-qasource posted is a separate issue, I will need to review and play with the feature more. I am seeing the specific original concern is still happening, so I am glad it is re-opened. I will push some convo to slack to see if we can hash out what remains to be done. @ph @nchaulet @michalpristas |
i need to take a look but these sshould be info level so with this settings they should not be there. |
I'm testing in on 8.0 latest a few days later and I am not seeing the original issue, so I would like to close this out, it looks like the latest changes helped fix this up. @dikshachauhan-qasource can you confirm if you are still seeing the problem you reported, and if so, let us open a new ticket please with all specifics and a clean history? And then we can close this out. |
Hi @EricDavisX Thanks for the feedback. We have noticed same behavior on 8.0 latest Kibana cloud build. Hence, reported new defect #23145 for same. Please let us know if anything is required from our side. |
ok, thanks. closing this out then |
We see a specific log line that seems to only be shown when no-specific log level is selected in the UI. It should be categorized and shown as being under one of the ones listed right? Unless we have a Kibana side bug that the log level isn't in the listing (that would make sense actually, maybe its a Kibana bug).
This is as tested with an 8.0 self managed stack snapshot setup and 8.0 latest Agent on Linux Debian. I am testing on our demo server: kibana.endpoint.elastic.dev/app/fleet#/fleet/agents/
see video for concern:
what-level-is-this-log-line-at.mov.zip
PH notes it should be at Info level, per libbeat code here:
https://github.com/elastic/beats/blob/master/libbeat/monitoring/report/log/log.go#L145
I took another video showing off that there are logs, but that when selected NONE of the available levels show any logs
no-log-levels-matching.zip
screenshots:
The text was updated successfully, but these errors were encountered: