Skip to content

Commit

Permalink
Change lookup_field to service.address. (elastic#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

(cherry picked from commit f179f39)
  • Loading branch information
premendrasingh authored and Carlos Pérez-Aradros Herce committed Jan 29, 2020
1 parent 8eea6b8 commit b046a53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Fix CPU count in docker/cpu in cases where no `online_cpus` are reported {pull}15070[15070]
- 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 b046a53

Please sign in to comment.