aiting for Elasticsearch cluster to respond (1/30)
logstash started.
- Starting Kibana5 [ OK ]
touch: cannot touch '/var/log/elasticsearch/{"error":{"root_cause":[{"type":"security_exception","reason":"missingauthenticationcredentialsforRESTrequest[/_cat/health?h=cluster]","header":{"WWW-Authenticate":["Basicrealm="security"charset="UTF-8"","ApiKey"]}}],"type":"security_exception","reason":"missingauthenticationcredentialsforRESTrequest[/_cat/health?h=cluster]","header":{"WWW-Authenticate":["Basicrealm="security"charset="UTF-8"","ApiKey"]}},"status":401}.log': No such file or directory
tail: cannot open '/var/log/elasticsearch/{"error":{"root_cause":[{"type":"security_exception","reason":"missingauthenticationcredentialsforRESTrequest[/_cat/health?h=cluster]","header":{"WWW-Authenticate":["Basicrealm="security"charset="UTF-8"","ApiKey"]}}],"type":"security_exception","reason":"missingauthenticationcredentialsforRESTrequest[/_cat/health?h=cluster]","header":{"WWW-Authenticate":["Basicrealm="security"charset="UTF-8"","ApiKey"]}},"status":401}.log' for reading: No such file or directory
==> /var/log/logstash/logstash-plain.log <==
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:753) ~[jruby.jar:?]
at opt.logstash.lib.bootstrap.environment.(/opt/logstash/lib/bootstrap/environment.rb:91) ~[?:?]
[2023-08-10T09:42:51,246][INFO ][logstash.runner ] Log4j configuration path used is: /opt/logstash/config/log4j2.properties
[2023-08-10T09:42:52,325][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"8.7.1", "jruby.version"=>"jruby 9.3.10.0 (2.6.8) 2023-02-01 107b2e6697 OpenJDK 64-Bit Server VM 17.0.7+7 on 17.0.7+7 +indy +jit [x86_64-linux]"}
[2023-08-10T09:42:52,329][INFO ][logstash.runner ] JVM bootstrap flags: [-Xms1g, -Xmx1g, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djruby.compile.invokedynamic=true, -XX:+HeapDumpOnOutOfMemoryError, -Djava.security.egd=file:/dev/urandom, -Dlog4j2.isThreadContextMapInheritable=true, -Djava.io.tmpdir=/opt/logstash, -Djruby.regexp.interruptible=true, -Djdk.io.File.enableADS=true, --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED, --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED, --add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED, --add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED, --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED, --add-opens=java.base/java.security=ALL-UNNAMED, --add-opens=java.base/java.io=ALL-UNNAMED, --add-opens=java.base/java.nio.channels=ALL-UNNAMED, --add-opens=java.base/sun.nio.ch=ALL-UNNAMED, --add-opens=java.management/sun.management=ALL-UNNAMED]
[2023-08-10T09:42:52,606][FATAL][org.logstash.Logstash ] Logstash stopped processing because of an error: (SystemExit) exit
org.jruby.exceptions.SystemExit: (SystemExit) exit
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:790) ~[jruby.jar:?]
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:753) ~[jruby.jar:?]
at opt.logstash.lib.bootstrap.environment.(/opt/logstash/lib/bootstrap/environment.rb:91) ~[?:?]