After upgrading logstash to 5.0.1 , I am getting the following :
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.
The configuration in startup.options is:
# Override Java location
JAVACMD=/usr/bin/java
# Set a home directory
LS_HOME=/usr/share/logstash
The files do exist in /etc/logstash
mpswrk1@eaasrt!MPS:/etc/logstash> ll
total 44
-rw-rw-r-- 1 root root 1659 Nov 12 00:28 startup.options
-rw-rw-r-- 1 root root 1333 Nov 12 00:28 **log4j2.properties**
-rw-rw-r-- 1 root root 1738 Nov 12 00:28 jvm.options
drwxrwxr-x 2 root root 4096 Nov 12 00:28 conf.d
drwxr-xr-x. 108 root root 12288 Dec 11 17:58 ..
-rw-rw-r-- 1 root root 2829 Dec 11 17:58 **logstash.yml**
-rwxr-xr-x 1 root root 6297 Dec 13 15:44 patterns
drwxr-xr-x 3 root root 4096 Dec 13 15:44 .
So, what do I miss here? How should I fix it?
Regards
Sharon.