Skip to content

Commit

Permalink
Change lookup_field to service.address. (#15883)
Browse files Browse the repository at this point in the history
* Change lookup_field to service.address. Using metricset.host is not setting application_id
  • Loading branch information
premendrasingh committed Jan 29, 2020
1 parent 033a3b3 commit f179f39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,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]
- Add dedot for cloudwatch metric name. {issue}15916[15916] {pull}15917[15917]

*Packetbeat*
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/processor/add_kubernetes_metadata/indexers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f179f39

Please sign in to comment.