/usr/share/logstash# bin/logstash -e 'input { stdin { } } output { stdout {} }'
Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely b e removed in a future release.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.headius.backport9.modules.Modules (file:/usr/share/logstash/logstash-core/ lib/jars/jruby-complete-9.2.7.0.jar) to field java.io.FileDescriptor.fd
WARNING: Please consider reporting this to the maintainers of com.headius.backport9.modules.Modules
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Thread.exclusive is deprecated, use Thread::Mutex
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 errors to the console
I comment on all these three variable
then I sop the logstash service and again stat but it gives same
systemctl status logstash.service
â logstash.service - logstash
Loaded: loaded (/etc/systemd/system/logstash.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2020-01-22 21:34:18 EST; 9h ago
Main PID: 25761 (code=exited, status=1/FAILURE)
Jan 22 21:34:18 xxxxxxx systemd[1]: logstash.service: Service hold-off time over, scheduling restart.
Jan 22 21:34:18 xxxxxxx systemd[1]: logstash.service: Scheduled restart job, restart counter is at 5.
Jan 22 21:34:18 xxxxxxx systemd[1]: Stopped logstash.
Jan 22 21:34:18 xxxxxxx systemd[1]: logstash.service: Start request repeated too quickly.
Jan 22 21:34:18 xxxxxxx systemd[1]: logstash.service: Failed with result 'exit-code'.
Jan 22 21:34:18 xxxxxxx systemd[1]: Failed to start logstash.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.