Logstash started successfully and within minute shuts down automatically

[2019-10-28T16:19:39,384][INFO][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
[2019-10-28T16:19:43,944][INFO][logstash.runner ] Logstash shut down

Which inputs are you using and do you have a healthcheck for logstash configured?

This is my logstash.conf file. I dont have a healthcheck for logstash configured yet.

// Read input from filebeat by listening to port 5044 on which filebeat will send the data
input {
beats {
type => "test"
port => "5044"
}
}

filter {
//If log line contains tab character followed by 'at' then we will tag that entry as stacktrace
if [message] =~ "\tat" {
grok {
match => ["message", "^(\tat)"]
add_tag => ["stacktrace"]
}
}

}

output {

stdout {
codec => rubydebug
}

// Sending properly parsed log events to elasticsearch
elasticsearch {
hosts => ["localhost:9200"]
}
}

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