Logstash fails to start

When i tired to start with the command (logstash.bat -f logstash.conf) in the prompt.

The below output is written and logstash doesn't start.

Using JAVA_HOME defined java: C:\Program Files\Java\jdk1.8.0_221;
WARNING, using JAVA_HOME while Logstash distribution comes with a bundled JDK
warning: ignoring JAVA_OPTS=-Xms64m -Xmx128m -XX:NewSize=64m -XX:MaxNewSize=64m -XX:PermSize=64m -XX:MaxPermSize=64m; pass JVM parameters via LS_JAVA_OPTS

below is my conf file.

  input {
    	file {
    		path => "D://ELK/service.log"
    		start_position=> "beginning"
    		type => "logs"
    filter {
      grok {
    		match => {"message" => "%{TIMESTAMP_ISO8601:logtime} \[%{NOTSPACE:thread}\] \[%{LOGLEVEL:loglevel}\] %{GREEDYDATA:line}"

    output {
    	stdout { codec => rubydebug }

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.