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

[Fleet] Inconsistent Agent IDs are available on Kibana App under Fleet>agents and Discover Tab. #93756

Closed
dikshachauhan-qasource opened this issue Mar 5, 2021 · 11 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Fleet Fleet team's agent central management project impact:high Addressing this issue will have a high level of impact on the quality/strength of our product.

Comments

@dikshachauhan-qasource
Copy link

Kibana version:
7.12 BC3 Kibana Cloud environment

Host OS and Browser version:
Any, All

Preconditions

  1. 7.12 BC3 Kibana Cloud environment should be available.
Build: 39134
Commit: 08417cbd6c15e4c866651a7dcdfeded58845206d
Artifact link : https://staging.elastic.co/7.12.0-96914cb5/summary-7.12.0.html
  1. Default policy having system integration should exist.
  2. few agents should be installed.

Steps to reproduce:

  1. Login to Kibana cloud environment.
  2. Go to fleet> Agents tab.
  3. Select and Agent and navigate to Agent details page.
  4. Observe, agent id is getting displayed and copy same.
  5. Navigate to discover Tab.
  6. Apply query below at search bar using copied agent id
    agent.id : "ec795bf0-7cc5-11eb-8585-5b9f507c66c5"

Actual Result:

  • No results are getting displayed.
  • Different agent ids are getting displayed on Discover TAB

Screenshot1:
image

Screenshot2:
image

@dikshachauhan-qasource dikshachauhan-qasource added bug Fixes for quality problems that affect the customer experience Feature:Fleet Fleet team's agent central management project impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. labels Mar 5, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Feature:Fleet)

@dikshachauhan-qasource
Copy link
Author

@manishgupta-qasource Please review

@manishgupta-qasource
Copy link

Reviewed & Assigned to @EricDavisX

@kevinlog
Copy link
Contributor

kevinlog commented Mar 5, 2021

chatted with @muskangulati-qasource about a bug on the Endpoint admin side. #93738

See this comment: #93738 (comment)

We're seeing an inconsistent status because we're also getting a bad Agent ID reported by the Endpoint. It seems like the Agent sent a different ID down to the Endpoint than what it is reporting to the Fleet UI

@EricDavisX
Copy link
Contributor

this is helpful, we had logged the same bug I think here: elastic/beats#24327 but this has great details! @michalpristas @blakerouse @ph this may be more impactful and widespread than we realized (the other issue was only seen on Windows 7) - can we make this a priority to investigate ?

we can close one as a dupe as soon as we're sure and have details, etc.

@EricDavisX EricDavisX assigned ph and unassigned EricDavisX Mar 5, 2021
@EricDavisX EricDavisX changed the title Inconsistent Agent IDs are available on Kibana App under Fleet>agents and Discover Tab. [Fleet] Inconsistent Agent IDs are available on Kibana App under Fleet>agents and Discover Tab. Mar 5, 2021
@michalpristas
Copy link

michalpristas commented Mar 5, 2021

i have something here: elastic/beats#24387
let's see if that resolves this issue as well. i havent tested for this one

@michalpristas michalpristas assigned michalpristas and unassigned ph Mar 8, 2021
@michalpristas
Copy link

i checked with the fix above (from branch) and it seems it also fixes this issue

@EricDavisX
Copy link
Contributor

this is excellent news ! @dikshachauhan-qasource please re-test in BC4 when it comes.

@amolnater-qasource
Copy link

Hi @EricDavisX
We have revalidated this issue on self managed 7.12.0 BC-4 Kibana environment and found this issue Not Fixed.

Build details:
Build: 39242
Commit: 99ac38d
Artifact Link used: https://staging.elastic.co/7.12.0-336ff10d/summary-7.12.0.html

Screenshots:
agentid

Further we validated the same issue on staging 7.12.0 BC-4 Kibana Cloud environment and observed inconsistent agent ids under Discover tab on using "agent.id:" filter.

Screenshots:
Inconsistent Agentids

Please let us know if anything else is required.
Thanks
QAS

@michalpristas
Copy link

in your filter use logs-* or metrics-* we dont use anything else agent side.
to filter events from agent by id you need to use elastic_agent.id agent id will be ID of a beat itself generated during runtime.
image

@amolnater-qasource
Copy link

Hi @michalpristas
Thanks for clarifying the confusion, we are able to filter data with agent id using elastic_agent.id filter. Hence, closing this out.

Thanks
QAS

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 Feature:Fleet Fleet team's agent central management project impact:high Addressing this issue will have a high level of impact on the quality/strength of our product.
Projects
None yet
Development

No branches or pull requests

8 participants