要不要再翻翻文档呢?

logstash 安装xpack后healthcheck_url问题

Logstash | 作者 xwldyx | 发布于2017年11月20日 | 阅读数:3486

logstash 安装xpack后healthcheck_ur永远是http://logstash_system:xxxxxx@localhost:9200/
我是改了ip和端口号,账户密码也跟它不一样,怎么配置这个东西?
关键应该是用了search  guard的basic验证和ssl。
单单search guard output到elasticsearch的时候是可以通过的,那个时候healthcheck_url会是output里面配置的user和pwd等,再装了x-pack做monitor的时候就会一直是上面那个。
 怀疑是x-pack在 哪里做了设置 但是一直找不到,我logstash.yml配置 成下面那样也不行。
xack.monitoring.elasticsearch.url: "https://XXXX:8088"
xpack.monitoring.elasticsearch.username: "logstash"
xpack.monitoring.elasticsearch.password: "XXXXXX"
已邀请:

xiaoke - http://blog.51cto.com/kexiaoke

赞同来自:

x-pack和search-guard应该不能同时启用。如果你安装了x-pack又要用search-guard,在配置文件配置xpack.security.enabled=false 关闭x-pack的security功能!

xiaoke - http://blog.51cto.com/kexiaoke

赞同来自:

By default, all X-Pack features are enabled. You can enable or disable specific X-Pack features in the elasticsearch.yml, kibana.yml, and logstash.yml configuration files.



xpack.graph.enabled

Set to false to disable X-Pack graph features.

xpack.ml.enabled

Set to false to disable X-Pack machine learning features.

xpack.monitoring.enabled

Set to false to disable X-Pack monitoring features.

xpack.reporting.enabled

Set to false to disable X-Pack reporting features.

xpack.security.enabled

Set to false to disable X-Pack security features.

xpack.watcher.enabled

Set to false to disable Watcher.

xwldyx

赞同来自:

关于插件启用问题已经注意了,elasticsearch和kibana中只使用monitor,而logstash只有monitor不用设置

xwldyx

赞同来自:

search guard官方文档是有和x-pack的monitor一起使用的配置的,可是它只有elasticsearch和kibana的配置,没有logstash的配置。难道是官方也搞不定logstash的x-pack monitor?还是觉得不需要配置?
官方文档:http://floragunncom.github.io/ ... .html

要回复问题请先登录注册