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

Incorrect 'elastic_agent' Dataset filter is applied when clicking 'logs' quickly on agent details page (for a specific integration) #85764

Closed
ghost opened this issue Dec 14, 2020 · 4 comments · Fixed by #87955
Assignees
Labels
bug Fixes for quality problems that affect the customer experience impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Fleet Team label for Observability Data Collection Fleet team v7.11.0

Comments

@ghost
Copy link

ghost commented Dec 14, 2020

Kibana version:
Kibana: 8.0.0-SNAPSHOT Kibana cloud environment

Elasticsearch version:
Elasticsearch: 8.0.0-SNAPSHOT cloud environment

Host OS and Browser version:
Windows x64, All

Original install method (e.g. download page, yum, from source, etc.):
8.0.0-SNAPSHOT Kibana cloud environment from https://staging.found.no

Description
Incorrect 'elastic_agent' Dataset filter is applied on clicking 'logs' input of an integration on agent details page

Preconditions

  1. 8.0.0-SNAPSHOT Kibana cloud environment(with commit 0f40804) should be available.
  2. Login into the above Kibana environment with 'elastic' superuser.
  3. 8.0.0-SNAPSHOT version windows-x86_64.zip agent should be installed with Default policy(having System Integration) on above kibana :-
    Agent download location: https://snapshots.elastic.co/8.0.0-59591b4b/downloads/beats/elastic-agent/elastic-agent-8.0.0-SNAPSHOT-windows-x86_64.zip

Steps to Reproduce

  1. Open the left hand menu and click 'Fleet' link under Management.
  2. Navigate to Agents tab in Kibana.
  3. Click on the prerequisite agent and navigate to 'Agent details' tab
  4. Click on the expand icon for System integration and then click on 'View logs' for the logs input.
  5. Observe that user is navigated to Logs tab with incorrect 'elastic_agent' Dataset filter applied.

Test data
N/A

Impacted Test case id
https://elastic.testrail.io/index.php?/cases/view/35237

Actual Result
Incorrect 'elastic_agent' Dataset filter is applied on clicking 'logs' input of an integration on agent details page

Expected Result
Correct 'elastic_agent.filebeat' Dataset filter should be applied on clicking 'logs' input of an integration on agent details page(as per 4th point in #84434_desc)

What's working

  • Issue is not occurring on manually reloading the page.
  • Correct 'elastic_agent.filebeat' Dataset filter is applied on reloading the 'Logs' page after clicking 'logs' input for an integration

What's not working

  • Issue is also occurring with other integrations

Screenshot

  1. 'elastic_agent' Dataset filter is applied on clicking 'logs' input of an integration :-
    elastic_agent_dataset_filter

  2. 'elastic_agent.filebeat' Dataset filter is applied on reloading the Logs page after clicking on 'logs' input of an integration :-
    elastic_agent_filebeat_Dataset

Logs
N/A

@ghost ghost added the Team:Fleet Team label for Observability Data Collection Fleet team label Dec 14, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

@ghost ghost added bug Fixes for quality problems that affect the customer experience v7.11.0 impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. labels Dec 14, 2020
@ghost
Copy link
Author

ghost commented Dec 14, 2020

@manishgupta-qasource Please review the bug

@ghost ghost added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. and removed impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. labels Dec 14, 2020
@manishgupta-qasource
Copy link

Reviewed & Assigned to @EricDavisX

@EricDavisX EricDavisX changed the title Incorrect 'elastic_agent' Dataset filter is applied on clicking 'logs' input of an integration on agent details page Incorrect 'elastic_agent' Dataset filter is applied when clicking 'logs' quickly on agent details page (for a specific integration) Dec 14, 2020
@EricDavisX
Copy link
Contributor

I had to read thru this a bit and play to understand, but now I see the problem. The links are not populated straight-away when the integration is expanded, it takes a few seconds. If you click too quickly, the detailed filter is not applied, however if you wait and the url (as shown in bottom of browser page) is allowed to expand, then clicking through will take you to the desired filter set. i recorded a quick video and in it, you can see the url being expanded... but it takes a few seconds. unsure if we can improve this?

I think it is lower priority, but if we can look at it maybe it is an easy fix.

movie:
timing-to-click-logs-links.mov.zip

I also see that the 'endpoint' integration doesn't have a detailed filter url link... we could do that since it is one of the built-in integrations, should we log a separate ticket? If we do this maybe we can tackle that at same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Fleet Team label for Observability Data Collection Fleet team v7.11.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants