Logstash
Service overview
| Software owner | Elasticsearch BV |
|---|---|
| Version | 5.5.2 |
| Management | wfmanager (start | stop | restart | status) logstash |
| Log files | Access logs: ${install_dir}/supervisord/log/logstash.out.log |
| Startup scripts | ${install_dir}/supervisord/apps/logstash.ini ${install_dir}/logstash/bin/logstash |
| Configuration files | ${install_dir}/logstash/logstash-extract.conf |
| Default Ports | tcp 4567 |
Default parameters
| Configuration file | Name | Default Value | Description |
|---|---|---|---|
| config.yml | install_dir | /opt/workfusion | Directory to put user files, logs and configs |
Troubleshooting
Check if TCP port 4567 is available.
Ports may be custom:
netstat command output
$ etstat -lntp | grep 4567 tcp6 0 0 :::4567 :::* LISTEN 23433/javass command output
$ ss -ltn | egrep 4567 LISTEN 0 50 :::4567 :::*lsof command output
$ lsof -P -n -i :4567 | grep LISTEN java 23433 wfuser 17u IPv6 117393 0t0 TCP *:4567 (LISTEN)Check the default main log files:
- Access logs:
${install_dir}/supervisord/log/logstash.out.log - Error logs:
${install_dir}/supervisord/log/logstash.err.log
$ tail -f ${install_dir}/supervisord/log/logstash.err.log ${install_dir}/supervisord/log/logstash.out.log- Access logs:
Check logstash out (access) log using the Wfmanager util:
wfmanager tail logstashEnable debug information.
Set the appropriate log level to
${install_dir}/supervisord/apps/logstash.ini(default is info) and restart logstash service:${install_dir}/supervisord/apps/logstash.iniFrom: exec bin/logstash -f logstash-extract.conf To: exec bin/logstash -f logstash-extract.conf --log.level debugwfmanager restart logstash