-
Notifications
You must be signed in to change notification settings - Fork 153
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
Add os_family
, os_platform
and os_version
to host provider
#5941
Add os_family
, os_platform
and os_version
to host provider
#5941
Conversation
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 |
Quality Gate passedIssues Measures |
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_platform
andos_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.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/fragments
using the changelog tool[ ] I have added an integration test or an E2E testDisruptive User Impact
None
How to test this PR locally
variables.yml
and ensureos_family
,os_platform
andos_version
are populated underhost
. Here is an example from Debian 11:Related issues
Questions to ask yourself