0
テレグラフでhttpjsonプラグインを使用しています。Telegraf httpjsonプラグインエラー - 1つ以上のフィールドが必要です
マイtelegrafの設定は次のようになります。
[[inputs.httpjson]]
name = "info_metric"
servers = ["http://server.port/application/admin/info.json"]
method = "GET"
response_timeout = "5s"
私は自分のブラウザからそれを得るとき、JSON自体は次のようになります。私はtelegrafログから取得
{"git":{"branch":"release/app_27.x","commit":{"id":"23cs3f","time":"2017-10-18T13:55:01+0200"}}}
エラーメッセージ:
2017-10-25T11:02:11Z E! Error in plugin [inputs.httpjson]: http_json_info_metric: must have one or more fields