试试搜索一下吧

ELK,kibana

Elasticsearch | 作者 ClegeC | 发布于2020年01月11日 | 阅读数:742

本人新手一枚,尝试搭建ELK环境,并取回tomcat日志,然后创建索引后无结果返回,求指教.
创建logstash配置文件,tomcat.conf,内容如下[list][*]​input{ file { path => "/var/opt/esl/webservices/esl_webservice_1.log" start_position => "beginning" } } output{ stdout { codec => json } elasticsearch { hosts => "16.187.106.154" index => "tomcat-%{+YYYY.MM.dd}" } }
[/*]
[*]kibana正常启动
已邀请:

dadaball

赞同来自:

hosts => "16.187.106.154:9200"
要加9200 port唷

要回复问题请先登录注册