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

[Inconsistent with high frequency]: Agent logging level not updated #25385

Closed
dikshachauhan-qasource opened this issue Apr 28, 2021 · 8 comments
Labels
bug impact:high Short-term priority; add to current release, or definitely next. Team:Elastic-Agent Label for the Agent team

Comments

@dikshachauhan-qasource
Copy link

Kibana version:
7.13 BC3 Kibana Staging Cloud environment

Host OS and Browser version:
Windows, All

Preconditions

  1. 7.13 BC3 Kibana staging Cloud environment should be available.
BUILD 40647
COMMIT ac09c73a4a7998c770b50d39177c22036ae14375
Artifact page: https://staging.elastic.co/7.13.0-100107e6/summary-7.13.0.html
  1. Few agents should be installed to any policy.

Steps to reproduce:

  1. Login to Kibana cloud environment.
  2. Go to Agents tab.
  3. Go to Logs Section, Update agent logging level to value say 'debug'.
  4. Observe,

Actual Result:
Agent logging level is not updated even on hard refreshing the browser.

Screenshots:
image

@dikshachauhan-qasource dikshachauhan-qasource added bug impact:high Short-term priority; add to current release, or definitely next. Team:Elastic-Agent Label for the Agent team labels Apr 28, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/agent (Team:Agent)

@dikshachauhan-qasource dikshachauhan-qasource changed the title Agent logging level not updated even on hard refreshing the browser. [Inconsistent with high frequency]: Agent logging level not updated even on hard refreshing the browser. Apr 28, 2021
@dikshachauhan-qasource
Copy link
Author

@manishgupta-qasource Please review

@manishgupta-qasource
Copy link

Reviewed & Assigend to @EricDavisX

@EricDavisX
Copy link
Contributor

I have seen in some usage it can take up to 15 seconds for the setting to be in place on the host Agent (meaning you can refresh the browser multiple times before it shows as being updated).

If you can confirm any behavior that takes longer we should investigate. @dikshachauhan-qasource can you time it and re-post back please?

@dikshachauhan-qasource
Copy link
Author

dikshachauhan-qasource commented Apr 28, 2021

Hi @EricDavisX ,

Specially on windows its not reflecting at all. For rest it gets updated after 2-3 mins after refreshing and updating logging level several times.

@EricDavisX EricDavisX removed their assignment Apr 29, 2021
@EricDavisX EricDavisX changed the title [Inconsistent with high frequency]: Agent logging level not updated even on hard refreshing the browser. [Inconsistent with high frequency]: Agent logging level not updated Apr 29, 2021
@dikshachauhan-qasource
Copy link
Author

Hi @EricDavisX

UPDATE: Today while performing regression on cloud-prod environment, we observed this issue occurring here too.

Build details:
BUILD 40647
COMMIT ac09c73a4a7998c770b50d39177c22036ae14375
Artifact page: https://staging.elastic.co/7.13.0-100107e6/summary-7.13.0.html

Thanks
QAS

@EricDavisX
Copy link
Contributor

@dikshachauhan-qasource with recent stability improvements it would be good to know if this was still reproducible in latest 7.13 snapshot or 8.0 snapshot code - can you re-test please? I'm logging a separate ticket for Agent continuing to go off-line/on-line which may relate to this, but we'll see.

@dikshachauhan-qasource
Copy link
Author

Hi @EricDavisX

While performing testing today on 7.13BC4 build, we have observed this issue is now no more reproducible. We are now able to update Agent logging level and updated level is reflected at all places with 2 mins max.

Build details:

Kibana version: 7.13 BC4
BUILD 40749
COMMIT 5a6bad454ffe263aafed54cbd3f764253694bf37
Artifact link: https://staging.elastic.co/7.13.0-5c4bc719/summary-7.13.0.html

Hence we are closing this issue.

Thanks
QAS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug impact:high Short-term priority; add to current release, or definitely next. Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

No branches or pull requests

4 participants