heartbeat-elastic报错:system_api_version [6] is not supported by system_id [beats]

配置heartbeat-elastic服务时日志报错如下2018-02-11T07:36:29.217-0500 ERROR pipeline/output.go:92 Failed to publish events: 400 Bad Request: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"system_api_version [6] is not supported by system_id [beats]"}],"type":"illegal_argument_exception","reason":"system_api_version [6] is not supported by system_id [beats]"},"status":400}

解决方法:

手动设置/etc/heartbeat/heartbeat.yml 配置文件中的 name变量 name: 10.10.62.16

重启heartbeat-elastic服务即可

systemctl restart heartbeat-elastic.service