-
Notifications
You must be signed in to change notification settings - Fork 84
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
[Self managed]: elastic_agent.metricbeat/filebeat datastreams generated on installing fleet-server agent. #376
Comments
@dikshachauhan-qasource Please review. |
Reviewed and assigned to @EricDavisX |
@ph @ruflin I'd like to understand this before putting to the backlog - I'd want to know a work-around too. It actually sounds severe, doesn't it? that is, if it is a real issue and not otherwise accounted for in other tickets. The first step to confirm is, with more time (more than 6 minutes, per the screenshot) would the other datastreams not eventually send data? I don't see what would be different for elastic_agent.elastic_agent for metrics vs logs, there seems no immediate pattern to the problem. We should test and confirm that all the same beats (system and monitoring) were re-started on the host. |
ok, digging into more git /email updates, this seems to exactly relate - metricbeat is crashed on a restart. We can close as a dupe if everyone feels confident |
Hi @EricDavisX
We observed it for more than 30 minutes and still no new data for few datasets was observed. Logs: Build details: Please let us know if anything else is required. |
Adding the 7.13.1 label to help prioritize it until such time as we are confident it is a duplicate and close it, or we otherwise fix / resolve it. |
Hi @EricDavisX Thanks for the feedback on slack @michalpristas Hence closing this out. Thanks |
I will work with Amol to do a retest based on my understanding and we'll report back indeed if anything further can be confirmed as a bug. |
Hi @EricDavisX Please find below the observation table for the same.
Please let us know if anything else is required. Thanks |
@michalpristas I am re-opening this for a re-review. It looks to me that after a reboot, the Agent stops collecting dataset elastic_agent.metricbeat and elastic_agent.filebeat data. Can we discuss / review please? |
@amolnater-qasource can you re-test this please? we believe this and |
Hi @EricDavisX Build details:
Please let us know if we are missing anything. Thanks |
As of today the 7.14 snapshot is 7 days old, I'm not sure it has the latest fixes in it we need. I requested the re-testing with hopes that the build was new enough - that is my fault. Ideally, we'll re-test when the 7.x build is confirmed as new. Let's wait. |
all of the builds are green - so we have new artifacts, please retest this and report back. I am wondering if we still have some issue seen in this and elastic/beats#26034 - @amolnater-qasource thank you |
Hi @EricDavisX Observations are similar to the one's shared earlier at #376 (comment)
Build details:
Note: Please let us know if anything else is required from our end. |
@michalpristas is looking into this one. |
missing dataset most likely duplicate of elastic/beats#26518 |
do we have any logs from experiment above? |
@amolnater-qasource can you re-run the test and capture the relevant logs (Agent, Fleet Server, Metricbeat, Filebeat) - the last time we posted logs was May 24, I am hoping things may be working better with recent fixes (the one Michal notes was closed out, so that is good). |
Hi @EricDavisX Please find the required Logs as follows: Build details:
Please let us know if anything else is required from our end. Thanks |
Please do re-test on BC3 or newer snapshot (the BC2 is a week old at his point, and fixes were just merged we think). |
Hi @EricDavisX Observations are still same, please find in below table:
Build details:
Thanks |
so you don't see no metrics coming in dashboards as well. @michel-laterman were you able to find time to see if you can repro locally? |
I'm having issues recreating this locally; I'm having issues setting up my environment |
@amolnater-qasource, I'm unable to reproduce this on QA cloud with a locally running agent/fleet server. There have been occasion issues where Kibana fails to refresh the data stream displays, but clicking the "reload" button on the upper right of the UI resolves this. |
This issue is not reported for Cloud builds. It is only reproducible on self-managed/on-prem setup.
You can check that we have shared our observations based on nearly 30 mins test at #376 (comment). We were getting new logs for two of the datasets however not for others. Thanks |
I think I have recreated this using
|
this looks like what metricbeat receives during call to stats does not conform to schema defined in beats module of metricbeat (hence missing fields) |
@michalpristas, I was trying to restart the fleet-server container |
The error logs above are from metricbeat trying to collect state/stats from |
Hi @michel-laterman Please find our observations below:
Logs: cc: @michalpristas Please let us know if we are missing anything. |
Thanks Michael! @amolnater-qasource @dikshachauhan-qasource if you agree and understand the reasoning, I would like to know. In this case, too, you can update the short description to align to the 'inverse' issue that is identified. We can also update our test suite steps to confirm what is configured and note the current bug, until such time as it may be fixed. Thanks. I'll mark it as 'done' from the Urgent review side, this is nice to have it off the list even if we still have a lesser priority bug we can evaluate fixing. It remains on the 7.15 candidate list, and we can evaluate it against other issues / features we want to work on. |
Thanks @michel-laterman for looking up into this issue. Further we had a query regarding this: Is there any action, due to which elastic_agent.metricbeat/filebeat could generate in future? We have updated our Expected result for self managed Fleet server testcase at C77071 We will be re-testing it on self-managed 7.15 when it will be fixed. Please let us know if anything else is required from our end. |
Kibana version: 7.13.0 BC-7 Kibana self managed environment
Host OS and Browser version: Windows 10 x64, All
Build Details:
Preconditions:
Steps to reproduce:
Expected Result:
Data streams should restart for all datasets on restarting Fleet Server agent.
Logs:
restart issue logs.zip
Note:
Screenshot:

The text was updated successfully, but these errors were encountered: