Skip to content

Commit

Permalink
fix stats metricset
Browse files Browse the repository at this point in the history
  • Loading branch information
klacabane committed Nov 24, 2023
1 parent bc3f171 commit 4fd9b68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metricbeat/module/kibana/stats/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ func eventMapping(r mb.ReporterV2, content []byte, isXpack bool) error {
return event.Error
}
_, _ = event.RootFields.Put("service.address", serviceAddress)
event.Host = fmt.Sprintf("%v", serviceAddress)

// Set process PID
process, ok := data["process"].(map[string]interface{})
Expand Down

0 comments on commit 4fd9b68

Please sign in to comment.