Before it worked fine, then VM was added a more processors and this occurs
[root@localhost logstash]# bin/logstash -f centralLogstash.conf --quiet --path.data usr/share/logstash/tmp
Invalid file name for use with -Xloggc: Filename can only contain the characters [A-Z][a-z][0-9]-_.%[p|t] but it has been ${LS_GC_LOG_FILE}
Note %p or %t can only be used once
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
[root@localhost logstash]#
What can be the reason ?
[root@localhost config]# ls
jvm.options log4j2.properties logstash.yml startup.options
[root@localhost config]# pwd
/usr/share/logstash/config
[root@localhost config]# vi jvm.options
(...)
# log GC status to a file with time stamps
# ensure the directory exists
#-Xloggc:${LS_GC_LOG_FILE}
Logstash 5.2.2