windows logstash配置

2021-04-06 21:26

阅读:446

标签:sts   search   deb   host   pts   conf   修改   window   cse   

E:\logstash-6.2.4\bin目录下新建logstash.conf

input {
stdin { }

}

   
output {
  stdout { codec=> rubydebug }

  elasticsearch {
    hosts => localhost
  }
}

 

E:\logstash-6.2.4\bin目录下新建run.bat

logstash -f logstash.conf

修改logstash.bat

%JAVA% %JAVA_OPTS% -cp "%CLASSPATH%" org.logstash.Logstash %*

windows logstash配置

标签:sts   search   deb   host   pts   conf   修改   window   cse   

原文地址:https://www.cnblogs.com/tonggc1668/p/9129226.html


评论


亲,登录后才可以留言!