Add os_family, os_platform and os_version to host provider#5941
Add os_family, os_platform and os_version to host provider#5941belimawr merged 8 commits intoelastic:mainfrom
os_family, os_platform and os_version to host provider#5941Conversation
|
This pull request does not have a backport label. Could you fix it @belimawr? 🙏
|
|
|
5daf94a to
7eb75c7
Compare
os_family, os_platform and os_version to host provider
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
|
@belimawr could you add a changelog fragment? 🙂 |
Co-authored-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
…limawr/elastic-agent into 10797-journald-for-system-integration
|
Per ECS -- https://www.elastic.co/guide/en/ecs/current/ecs-os.html these should be |
That makes sense, thanks @strawgate ! It didn't cross my mind to use ECS because those fields are not stored in ES, they're just information about the host. I'll make those updates. |
…urnald-for-system-integration
|
Oh, if these don't end up in metadata for documents then you're right it doesnt need to be ecs |
|
This commit adds `os_family`, `os_platform` and `os_version` to the host provider, enabling differentiating Linux distributions. This is required to support Debian 12 and other distributions that are moving away from traditional log files in favour of Journald. --------- Co-authored-by: Mauri de Souza Meneguzzo <mauri870@gmail.com> (cherry picked from commit d9587c4)
…) (#6005) This commit adds `os_family`, `os_platform` and `os_version` to the host provider, enabling differentiating Linux distributions. This is required to support Debian 12 and other distributions that are moving away from traditional log files in favour of Journald. --------- Co-authored-by: Mauri de Souza Meneguzzo <mauri870@gmail.com> (cherry picked from commit d9587c4) Co-authored-by: Tiago Queiroz <tiago.queiroz@elastic.co>




What does this PR do?
This commit adds
os_family,os_platformandos_versionto the host provider, enabling differentiating Linux distributions. This is required to support Debian 12 and other distributions that are moving away from traditional log files in favour of Journald.Why is it important?
It is required to support Debian 12 and other Linux distributions that are moving away from traditional log files in favour of Journald.
Checklist
[ ] I have made corresponding changes to the documentation[ ] I have added an entry in./changelog/fragmentsusing the changelog tool[ ] I have added an integration test or an E2E testDisruptive User Impact
None
How to test this PR locally
variables.ymland ensureos_family,os_platformandos_versionare populated underhost. Here is an example from Debian 11:Related issues
Questions to ask yourself