Fixes #30090 - Change context.system.hostname to host.hostname for contextual menu. (#30884)

This commit is contained in:
Chris Cowan 2019-02-15 07:47:44 -07:00 committed by GitHub
parent 2cd6c130d1
commit 5ee7240add
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ export const NodeContextMenu = injectI18n(
// #26620 for the details for these fields.
// TODO: This is tech debt, remove it after 7.0 & ECS migration.
const APM_FIELDS = {
[InfraNodeType.host]: 'context.system.hostname',
[InfraNodeType.host]: 'host.hostname',
[InfraNodeType.container]: 'container.id',
[InfraNodeType.pod]: 'kubernetes.pod.uid',
};