-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
UUID assigned to enrolled Windows Filebeat agent not matching one in Central Management Console #9235
Comments
@jasonboshears I haven't seen this behavior before. You are saying that you can reproduce this issue everytime? Generating the UUID is one of the first thing we do when we start the libbeat framework and it done synchronously. Can you try the following:
|
@ph I'm having the same problem, already opened a discussion here: https://discuss.elastic.co/t/central-management-wrong-beat-id/160498, where I described my method. |
I think I found the problem.
|
@nickerber That's a good catch! Thanks this give us what we need to fix it. |
@nickerber sorry for not getting back to you sooner, I don't think we can solve it directly by code, instead we should provide better documentations. When you install Filebeat as a service using the install-service-metricbeat.ps1 we take care of configuring a few things when we starts the beat. The most important thing is that we set the PATH of the data folder.
So this explains why the enroll command that you execute directly and the one that the service starts doesn't use the same UUID. By default the beat lookup in the current folder. If you add the .\filebeat.exe enroll http://xyz.gov:5601 70f4b584e8024b96b682c46125a8d81a --username elastic --password stdin --force -path.data "C:\ProgramData\filebeat" |
I will close this issue and open a one to improve documentation with Windows. |
Followup issue at #10415 |
Hello, I upgraded our ELK instance to 6.5.1 and installed the Windows Filebeat 6.5.1 agent on a Windows system I wanted to monitor. All seemed to be running fine. I decided to try out the new Filebeat centralized management feature and enrolled the Windows Filebeat client on the server. The Windows client was able to enroll fine, but no further contact was made, and configurations were not updated as expected. Upon further investigation, I saw this logged on the client:
error retriving new configurations, will use cached ones: Beat "xxxxxxxx" not found.
I then noticed the UUID stored in the meta.json file is different from the one shown in Central Management Console. When I updated the meta.json file with the UUID listed in Central Management and restarted services, all seemed to work as expected. I was able to reproduce this behavior consistently on six systems I tried to enroll in Central Management.I am able to work around this error by manually updating the UUID in meta.json on the client system. It is an inconvenience but not critically impactful. However, I think I may have found a couple bugs in the new version of the Windows Filebeat client. There appears to be an inconsistent UUID being assigned to server and client, as well as the misspelling of 'retrieving' in the error log.
The text was updated successfully, but these errors were encountered: