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

[ APM & Fleet]: 'apm.log' logs NOT available after enabling Logs and metrics and restarting Kibana from Cloud deployment page. #100324

Closed
dikshachauhan-qasource opened this issue May 19, 2021 · 7 comments
Assignees
Labels
Feature:Fleet Fleet team's agent central management project Team:Agent Agent Team v7.13.0

Comments

@dikshachauhan-qasource
Copy link

Kibana version:
7.13 BC7 Kibana Cloud Cloud-QA environment

Host OS and Browser version:
APM & Fleet, All

Preconditions

  1. 7.13 BC7 Kibana Cloud Cloud-QA environment should be available.
Kibana version: 7.13 BC7
BUILD 40864
COMMIT 6ce6847436ff9bef0ad91268b6585e0f9339c9fd
Artifact link: https://staging.elastic.co/7.13.0-8eb98cbf/summary-7.13.0.html    BC7
  1. Managed host should be avilable under Agents tab.

Steps to reproduce:

  1. Enable logs and metrics at cloud deployment.
  2. Wait for 1-2 mins for action to complete.
  3. Got to stack monitoring Tab in kibana.
  4. Validate data sync at apm & fleet overview resource usage.
  5. Restart Kibana.
  6. Go to logs tab.
  7. Apply event.dataset filter for below: "apm.log"

Reference Link:
#99470

Actual Result:

  • "elastic_agent.apm" data events not available on Logs tab after enabling logs collection settings and restarting Kibana at cloud deployment.

Screenshots:
image

NOTE:

  • Also, attempted to trigger an error for APM manually, by running curl -i /config/v1/agents. However, no authorization error logs was returned at logs Tab.
    image
@dikshachauhan-qasource dikshachauhan-qasource added the bug Fixes for quality problems that affect the customer experience label May 19, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label May 19, 2021
@dikshachauhan-qasource dikshachauhan-qasource added 7.13 candidate Feature:Fleet Fleet team's agent central management project labels May 19, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Feature:Fleet)

@dikshachauhan-qasource dikshachauhan-qasource added the impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. label May 19, 2021
@dikshachauhan-qasource
Copy link
Author

@karanbirsingh-qasource Please review

@amolnater-qasource amolnater-qasource assigned EricDavisX and unassigned ghost May 19, 2021
@amolnater-qasource
Copy link

Reviewed and assigned to @EricDavisX

@EricDavisX EricDavisX removed their assignment May 20, 2021
@EricDavisX
Copy link
Contributor

I'd like to know if this is reproducible only in cloud or also in the self managed stack deploy. either way, cloud is critical - and I know too little about it to help triage. I'll pull in @ruflin @ph @simitt to help, please.

@ph ph added the Team:Agent Agent Team label May 20, 2021
@botelastic botelastic bot removed the needs-team Issues missing a team label label May 20, 2021
@ph ph added v7.13.0 and removed 7.13 candidate labels May 20, 2021
@simitt
Copy link
Contributor

simitt commented May 20, 2021

According to the screenshot above the request did not trigger an error. The APM Server log level is set to error, so it is expected that in this case no error is logged.
If you send the above request without providing an Auth header, or request some non-existent endpoint, for example curl -i https://test-deployment.qa.cld.elstc.co:9243/invalid then an error is returned and logged. I just tested and can confirm that everything works as expected, also after a Kibana restart.

@EricDavisX
Copy link
Contributor

Silvia For The Win! Thank you @simitt .

@amolnater-qasource let's follow through and make sure we update any relating test for this to note the intentional 'wrong' usage to throw an error. I'll close this out, I see you have sent an email to the group - thanks again!

@EricDavisX EricDavisX removed bug Fixes for quality problems that affect the customer experience impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. labels May 21, 2021
@dikshachauhan-qasource
Copy link
Author

Hi @EricDavisX

We have updated our testcase as per above feedback from Silvia.

Testcase link: C79018

Thanks
QAS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Fleet Fleet team's agent central management project Team:Agent Agent Team v7.13.0
Projects
None yet
Development

No branches or pull requests

7 participants