ubuntu 16.04, following recipe in
https://git.rg.net/randy/randy/src/master/ELK-stack.md
# /usr/share/logstash/bin/logstash -e
output {
stdout {}
}
WARNING: Could not find logstash.yml which is typically located in $LS_HOME/config or /etc/logstash. You can specify the path using --path.settings. Continuing using the defaults
Could not find log4j2 configuration at path /usr/share/logstash/config/log4j2.properties. Using default config which logs to console
ERROR: No configuration file was specified. Perhaps you forgot to provide the '-f yourlogstash.conf' flag?
usage:
bin/logstash -f CONFIG_PATH [-t] [-r] [] [-w COUNT] [-l LOG]
bin/logstash -e CONFIG_STR [-t] [--log.level fatal|error|warn|info|debug|trace] [-w COUNT] [-l LOG]
bin/logstash -i SHELL [--log.level fatal|error|warn|info|debug|trace]
bin/logstash -V [--log.level fatal|error|warn|info|debug|trace]
bin/logstash --help
and yet
# ls -la /etc/logstash
total 32
drwxrwxr-x 3 root root 4096 Mar 10 23:45 ./
drwxr-xr-x 107 root root 4096 Mar 11 00:27 ../
drwxrwxr-x 2 root root 4096 Mar 10 23:55 conf.d/
-rw-rw-r-- 1 root root 1738 Feb 24 17:41 jvm.options
-rw-rw-r-- 1 root root 1334 Feb 24 17:41 log4j2.properties
-rw-rw-r-- 1 root root 4487 Mar 10 23:45 logstash.yml
-rw-rw-r-- 1 root root 1659 Feb 24 17:41 startup.options
clue bat please
randy