-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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] Testing over Ability to Set Agent Log Level in Kibana Fleet UI #84119
Comments
Pinging @elastic/ingest-management (Team:Ingest Management) |
Hi @EricDavisX We have created 02 testcases for points shown below, as per AC mentioned in ticket. Links are as follows: For below point However, we have queries for below points: Query 1:
Query 2:
Query 3:
|
Hi - for Q1, no we do not need to create more cases, just executing what we have is enough for stand-alone, basically just need to run the regression test cases that exist. for Q2 and Q3, I have updated the description to include that it will be on the bottom left of the page under the logs display. it was a screenshot in one of the linked issues, glad to pull it out here and elaborate. The log level set here is applied to all processes Agent runs if they are set up to send logs (which all of Agent, Endpoint, and Metricbeat, Filebeat are configurable as such. |
Hi @EricDavisX Thank you for resolving our queries. We have created 06 testcases accordingly for Q2 and Q3 based on screenshot shared to us in updated description. Testcases links are as follows: However, we have 01 query after viewing reference video at comment #81872 (comment) We observed selected agent logging level filter option is getting displayed on Agent details page.
|
@jen-huang @nchaulet can confirm @dikshachauhan-qasource it is a good question. I had a different idea, but after playing with it I believe the the log-level selector works like this:
|
Yes when nothing is selected the filter show the number of all the possible filter (in grey) and it show all the logs. |
Hi @EricDavisX and @nchaulet Thank you for resolving our queries. We have created 03 testcases based on feedback. Testcases links are as follows: And also updated 02 testcases. Link: Please let us now if we missed anything. |
Hi @EricDavisX, We tested this ticket on the latest 8.0 build and here are our observations: Build Details:
Observations:
Please let us know if we missed anything. |
Maybe it's a little confusing but the select below the log table is not used to filter logs by log level, but to set the log level on the agent, if you want to filter the log level you should use the log level field on top of the log level table. |
Thank you Nicolas. @dikshachauhan-qasource further, if I understand your question, the short discussion is this:
As an example of today's 8.0 deploy (tho it has code which we know is not fully complete yet on Agent side) I can see interesting nuances that show it is working and complex the feature is. Note that the Agent level combo box only shows the core-4 levels to set. But the 'filter' drop down will show what is in the data, and level 'notice' will generally fall between info and warning. : / And other log levels from other products / frameworks will exist: The first 4 items in the list are all 'really bad' and would show always, but when you select option 3 level, you won't get debug (or lower) levels logged. if you select option 2 you won't get anything below option 2 in the logs. The filtering is always dependent on what is in the data already tho, so once a log exists (within a given time range selected) it will show regardless of current setting. And so Agent doesn't control what levels may come from the various integrations / beats, hence the discussion on the larger set of log levels even tho you can't select / set them all explicitly. |
Hi @EricDavisX Thank you for the clarification and deeper look to functionality. We will re-validated same once code is available for feature as mentioned in comment . Moreover, we have updated 03 testcases as per above information. Updated testcases links are as follows: Please let us know if anything else is required. |
Hi @EricDavisX We have executed 09 testcases under test plan Agent Logging Level test run Build details are as follows:
Please let us know if anything is required from our side. Thanks |
Thanks I'll review the feature testing and report back! |
we finished this off for 7.11, it works great. elastic/beats#23720 remains open for the Endpoint side feature work that is not done. closing this out. |
This is the test ticket for:
#81872
elastic/beats#20756
PRs:
#83707
#84112
See issues for details and this design issue for context:
#81872 (comment)
A/C for feature:
Testing Considerations:
Recommend to tie the testing together with the Logs-in-Kibana-UI feature:
[Fleet] Agent logs UI #83356
in this ticket: [Fleet] Testing over Agent collection of Agent & Endpoint log files beats#22549
Where are the tests?
The text was updated successfully, but these errors were encountered: