mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
* Fixing group by labels by fixing the field names (post ECS migration) * Fixing the field names for machine type and project id
This commit is contained in:
parent
779ca5db3a
commit
6bd74e0abd
2 changed files with 8 additions and 8 deletions
|
@ -24,19 +24,19 @@ export const fieldToName = (field: string, intl: InjectedIntl) => {
|
|||
id: 'xpack.infra.groupByDisplayNames.hostName',
|
||||
defaultMessage: 'Host',
|
||||
}),
|
||||
'meta.cloud.availability_zone': intl.formatMessage({
|
||||
'cloud.availability_zone': intl.formatMessage({
|
||||
id: 'xpack.infra.groupByDisplayNames.availabilityZone',
|
||||
defaultMessage: 'Availability Zone',
|
||||
}),
|
||||
'meta.cloud.machine_type': intl.formatMessage({
|
||||
'cloud.machine.type': intl.formatMessage({
|
||||
id: 'xpack.infra.groupByDisplayNames.machineType',
|
||||
defaultMessage: 'Machine Type',
|
||||
}),
|
||||
'meta.cloud.project_id': intl.formatMessage({
|
||||
'cloud.project.id': intl.formatMessage({
|
||||
id: 'xpack.infra.groupByDisplayNames.projectID',
|
||||
defaultMessage: 'Project ID',
|
||||
}),
|
||||
'meta.cloud.provider': intl.formatMessage({
|
||||
'cloud.provider': intl.formatMessage({
|
||||
id: 'xpack.infra.groupByDisplayNames.provider',
|
||||
defaultMessage: 'Cloud Provider',
|
||||
}),
|
||||
|
|
|
@ -48,14 +48,14 @@ const getOptions = (
|
|||
[InfraNodeType.container]: [
|
||||
'host.name',
|
||||
'cloud.availability_zone',
|
||||
'cloud.machine_type',
|
||||
'cloud.project_id',
|
||||
'cloud.machine.type',
|
||||
'cloud.project.id',
|
||||
'cloud.provider',
|
||||
].map(mapFieldToOption),
|
||||
[InfraNodeType.host]: [
|
||||
'cloud.availability_zone',
|
||||
'cloud.machine_type',
|
||||
'cloud.project_id',
|
||||
'cloud.machine.type',
|
||||
'cloud.project.id',
|
||||
'cloud.provider',
|
||||
].map(mapFieldToOption),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue