5.1 : Configtest


#1

Hi,
I'm trying to start and troubleshoot logstash on ubuntu xenial. It is proving difficult because the service isn't writing any log output although the service is running:

systemctl status logstash.service

● logstash.service - logstash
Loaded: loaded (/etc/systemd/system/logstash.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2016-12-30 15:55:05 UTC; 56s ago
Main PID: 15696 (java)
CGroup: /system.slice/logstash.service
└─15696 /usr/bin/java -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+DisableExplicitGC -Djava.awt.headless=true -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -Xmx1

Dec 30 15:55:05 test-host systemd[1]: Started logstash.

Checking the journal I see:

Dec 30 15:55:05 test-host systemd[1]: Started logstash.

However, I see no sockets bound via netstat. And testing the config hangs:

/usr/share/logstash/bin/logstash -t -f /etc/logstash/conf.d/

Clearly something isn't right but I'm getting zero feedback. So, I'd appreciate it if someone can explain how I can get logstash to speak to me on xenial???

Happy New Year,
David


(system) #2

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