2016-10-27 3 views
0

私はスラックでES通知を設定しようとしています。これは私がelasticsearch.ymlに入れているもので、elasticsearchサイトのドキュメントから取ります。slackでelasticsearchウォッチャーを設定するには

xpack.notification.slack: 
    account: [email protected] 
    monitoring: 
     url: https://hooks.slack.com/services/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 

私は戻って取得エラーです:

Exception in thread "main" SettingsException[Failed to load settings from /etc/elasticsearch/elasticsearch.yml]; nested: MarkedYAMLException[mapping va$ 
Oct 27 13:34:56 elasticsearch[8290]: in 'reader', line 99, column 15: 
Oct 27 13:34:56 elasticsearch[8290]: monitoring: 
Oct 27 13:34:56 elasticsearch[8290]:   ^

誰もがこの問題を解決する方法を知っていますか?

答えて

1

で試してみてください:

xpack.notification.slack: 
    account: 
    monitoring: 
     url: https://hooks.slack.com/services/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 
関連する問題