在output->elasticsearch下增加一个index配置output{elasticsearch{hosts=>["ip:port"]index=>"test_system_log"}}查看的的话,就装kibana好了,在kibana的settings->indices页面,在页面里面的输入框输入test_system_log,如果下面的按钮文字不是unabletofetchmappingxxxx,就说明日志收集成功了,点create按钮就创建好了。
@mykey
顶0
加入收藏
相关问答推荐