Skip to content

Commit

Permalink
Remove cluster_name from cluster_state field (#11954)
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator authored Apr 29, 2019
1 parent fc8b217 commit aa81428
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ func eventMappingXPack(r mb.ReporterV2, m *MetricSet, info elasticsearch.Info, c
if err != nil {
return errors.Wrap(err, "failed to get cluster state from Elasticsearch")
}
clusterState.Delete("cluster_name")

if err = elasticsearch.PassThruField("status", clusterStats, clusterState); err != nil {
return errors.Wrap(err, "failed to pass through status field")
Expand Down

0 comments on commit aa81428

Please sign in to comment.