Skip to content

Conversation

@simitt
Copy link
Contributor

@simitt simitt commented Aug 7, 2019

Use information from system.name when provided, otherwise derive data from host.hostname.

fixes #2502

@elastic/apm-agent-devs this PR adds support for system.name on the Intake API. The field is mapped to host.name in ES, and will be used to link with SIEM and Infra UI. If the value is not provided, it will be set to host.hostname (which is derived from system.hostname or system.kubernetes).

From the ECS documentation host.name should be:

Name of the host.It can contain what hostname returns on Unix systems, the fully qualified domain name, or a name specified by the user. The sender decides which value to use.

Use information from `system.name` when provided, otherwise derive
data from `host.hostname`.`

fixes elastic#2502
@simitt simitt merged commit 8b3a434 into elastic:master Aug 7, 2019
simitt added a commit to simitt/apm-server that referenced this pull request Aug 7, 2019
Use information from `system.name` when provided, otherwise derive data from `host.hostname`.`

fixes elastic#2502
simitt added a commit to simitt/apm-server that referenced this pull request Aug 7, 2019
Use information from `system.name` when provided, otherwise derive data from `host.hostname`.`

fixes elastic#2502
simitt added a commit that referenced this pull request Aug 8, 2019
Use information from `system.name` when provided, otherwise derive data from `host.hostname`.`

fixes #2502
@simitt simitt deleted the 2502-set-host-name branch August 23, 2019 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ECS: Set host.name along with host.hostname in exported data

2 participants