I am running Logstash with the command:
/usr/share/logstash/bin/logstash --debug "--path.settings" "/etc/logstash2"
And getting this DEBUG message
[2020-01-27T15:15:30,902][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
[2020-01-27T15:15:32,994][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=>"ParNew"}
[2020-01-27T15:15:32,995][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=>"ConcurrentMarkSweep"}
[2020-01-27T15:15:35,560][DEBUG][logstash.pipeline ] Pushing flush onto pipeline {:pipeline_id=>"main", :thread=>"#<Thread:0x7fd156f7 sleep>"}
[2020-01-27T15:15:38,006][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=>"ParNew"}
[2020-01-27T15:15:38,007][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=>"ConcurrentMarkSweep"}
[2020-01-27T15:15:40,564][DEBUG][logstash.pipeline ] Pushing flush onto pipeline {:pipeline_id=>"main", :thread=>"#<Thread:0x7fd156f7 sleep>"}
[2020-01-27T15:15:43,014][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=>"ParNew"}
It continually hangs there and I have to Ctrl-C to quit. No data is making its way in to Kibana.
My config looks like this:
input {
gelf {
id => "gelf-22001"
use_tcp => true
port => 22001
}
}
output {
elasticsearch {
hosts => ["localhost"]
index => "index-%{+YYYY.MM.dd}"
}
}
This was running successfully previously but my VM ran out of memory so I had to resize the disk and now cannot see what is preventing it running again?
Thanks