When I try to ingest with logstash and if the given directory contains tar.gz files, it fails with following error.
When the same logs are ingested with logstash and the given log directory doesn't contain tar.gz files, it works.
What causes this behavior?
Full error message
[ERROR] 2021-10-18 12:30:32.536 [main] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (GemspecError)
[!] There was an error while loading `logstash-core-plugin-api.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. Bundler cannot continue.