-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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]: Hostnames are visible with lower case letters when actually set in Upper case. #159372
Comments
Pinging @elastic/fleet (Team:Fleet) |
@manishgupta-qasource Please review. |
Secondary review for this ticket is Done |
I think this is because of elastic/elastic-agent#2767 and the related change in Beats. The original PR was elastic/go-sysinfo#180, ECS recommends the FQDN hostname always be in lowercase. This was an intentional change. |
Looking at the screenshot this change results in duplicate agents in the UI doesn't it? DNS hostnames are not case sensitive, I think this could be considered a bug in how the UI does hostname comparisons. We could also categorize this as a breaking change how the agent and Beats report hostnames, but they technically should not be case sensitive. |
Hi @cmacknz Thank you for looking into this issue. Just to avoid confusion, we have installed agents on the same host, uninstalling them(not unenrolling from the UI) and then reinstalling for better comparisons. There are no duplicate agents due to any issue in the UI. The issue is just with 8.9.0 agents host name[not set to FQDN] getting in lower case. Please let us know if we are missing anything here. Thanks! |
@amolnater-qasource if there are no duplicates then I think we can close this issue as this is not a bug but rather a change introduced by elastic/go-sysinfo#180.
|
Thank you for the confirmation @jlind23 We have further observed that these changes aren't available under Endpoints tab: Two different names are visible for same host under HOSTS tab: Data with two different names is visible for same host under Discover tab on adding Elastic Defend: Could anyone please confirm if this is expected too? Thank you! |
Endpoint team has its own way of returning FQDN value @nfritts are you planning on lowercasing hostname just like recommended at https://www.elastic.co/guide/en/ecs/current/ecs-host.html#field-host-name?
|
@jlind23 Yes. We treat any result from endpoint that doesn't match the agent output as a bug. we have tests to detect this and while looking in to this I learned that we basically don't have any machines with capital letters in them that run the tests. We'll have it fixed in 8.9. |
@amolnater-qasource can we close this issue as it seems to be an endpoint specific one? |
Hi @jlind23 Thank you for resolving this. Yes, as the issue is just related to Endpoint specific now, we are closing this. Thanks! |
Kibana Build details:
Host OS and Browser version: Windows, All
Preconditions:
Steps to reproduce:
Expected:
Hostnames should be visible with upper case letters when actually set in upper case.
Screenshots:
![1](https://private-user-images.githubusercontent.com/77374876/244642737-6c708cf6-ac28-4c81-97f5-8a2fdf9e80fd.JPG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MTkxODcsIm5iZiI6MTczOTQxODg4NywicGF0aCI6Ii83NzM3NDg3Ni8yNDQ2NDI3MzctNmM3MDhjZjYtYWMyOC00YzgxLTk3ZjUtOGEyZmRmOWU4MGZkLkpQRz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDAzNTQ0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcwODViZjc4ZTRjNDc5NTdkYWMyZjRiZjcwNjI1ODVlOTJlZWVjYzU1YThkOWZiN2Y1YzNiMjVkMGMwOTg2NTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.JJuu3-MKg9il_inFMfFEcNrN52bIy-SyIRsljBmKf7Y)
![2](https://private-user-images.githubusercontent.com/77374876/244642744-9a86fe9d-5a26-4f5a-8c25-7f77ec6856d0.JPG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MTkxODcsIm5iZiI6MTczOTQxODg4NywicGF0aCI6Ii83NzM3NDg3Ni8yNDQ2NDI3NDQtOWE4NmZlOWQ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ODg4NmQzMTFkMTYwNzAzZTk0Y2EyYWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.LNw6CYvAAh7TEKFc0u9FFHjC_GAudRJJ-pNHAqFMFoM)
![image](https://private-user-images.githubusercontent.com/77374876/244643290-e9aa8ede-0cd3-4f82-be1c-77bcc7490bf3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MTkxODcsIm5iZiI6MTczOTQxODg4NywicGF0aCI6Ii83NzM3NDg3Ni8yNDQ2NDMyOTAtZTlhYThlZGUtMGNkMy00ZjgyLWJlMWMtNzdiY2M3NDkwYmYzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDAzNTQ0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTczMWI0YzQ5YjYwNzc5OWI3YWM0NWFiNWUzOGVkNWQ4NDljZjJmY2JmMzY1NmRiNWY1ZjNiMGUwOWQ4ZDJhYWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.fqFfVpoupnREJmKc4A4X2tDeyWZq0KId1IDk0e5NZ8E)
![image](https://private-user-images.githubusercontent.com/77374876/244644911-b1ceb931-be56-4976-b0dc-8c2fcfec9ddd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MTkxODcsIm5iZiI6MTczOTQxODg4NywicGF0aCI6Ii83NzM3NDg3Ni8yNDQ2NDQ5MTEtYjFjZWI5MzEtYmU1Ni00OTc2LWIwZGMtOGMyZmNmZWM5ZGRkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDAzNTQ0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFkMDQ4MDI5YTk4ZjE5OGE5MjQ3OWI2OWFhMjBiMjkwYTVmOWE3N2I4YmMwNDBhYWY0ZDMwMWQ2YjAyNDIwOTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.YbHQMaqJZxdztSsp_mP4w-S90HFX64nqMDIVXnbM1iU)
What's working:
The text was updated successfully, but these errors were encountered: