[main]Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error:(GemspecError) There was a LoadError while loading logstash-core.gemspec:
load error: psych-- java.lang.RuntimeException :BUG : we can not copy embedded jar to temp directory
Does it try to require a relative path? That's been removed in Ruby 1.9.
$ sudo su -
# bin/logstash -f logstash-simple.conf
Sending Logstash logs to /root/logstash-6.5.1/logs which is now configured via log4j2.properties
[2018-12-04T06:15:19,237][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2018-12-04T06:15:19,279][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"6.5.1"}
[2018-12-04T06:15:24,433][INFO ][logstash.pipeline ] Starting pipeline {:pipeline_id=>"main", "pipeline.workers"=>2, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>50}
[2018-12-04T06:15:25,052][INFO ][logstash.outputs.elasticsearch] Elasticsearch pool URLs updated {:changes=>{:removed=>[], :added=>[http://localhost:9200/]}}
[2018-12-04T06:15:25,063][INFO ][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>http://localhost:9200/, :path=>"/"}
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.