From 6783eb235067063faef8387aa4ac98693967605d Mon Sep 17 00:00:00 2001 From: Premendra Singh Date: Sat, 25 Jan 2020 23:47:30 -0800 Subject: [PATCH 1/2] Change lookup_field to service.address. Using metricset.host is not setting application_id --- metricbeat/processor/add_kubernetes_metadata/indexers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metricbeat/processor/add_kubernetes_metadata/indexers.go b/metricbeat/processor/add_kubernetes_metadata/indexers.go index 416013eef5f..a86b4b8f211 100644 --- a/metricbeat/processor/add_kubernetes_metadata/indexers.go +++ b/metricbeat/processor/add_kubernetes_metadata/indexers.go @@ -30,7 +30,7 @@ func init() { kubernetes.Indexing.AddDefaultIndexerConfig(kubernetes.IPPortIndexerName, *cfg) config := map[string]interface{}{ - "lookup_fields": []string{"metricset.host"}, + "lookup_fields": []string{"service.address"}, } fieldCfg, err := common.NewConfigFrom(config) if err == nil { From fe233588f4336a7ee49b0c6735fb79f41debcf86 Mon Sep 17 00:00:00 2001 From: Premendra Singh Date: Tue, 28 Jan 2020 10:29:32 -0800 Subject: [PATCH 2/2] Update change log to reflect changes in this PR --- CHANGELOG.next.asciidoc | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 28366c77271..bbe754ed167 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -70,6 +70,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - Add dedot for tags in ec2 metricset and cloudwatch metricset. {issue}15843[15843] {pull}15844[15844] - Use RFC3339 format for timestamps collected using the SQL module. {pull}15847[15847] +- Change lookup_fields from metricset.host to service.address {pull}15883[15883] *Packetbeat*