Getting logstasg error in rhel 8 and not running in logstash in rhel 8

Logstash is not running in rhel 8 and getting error while start logstash.

logstash version :- 7.4.3

[ERROR] 2023-07-15 18:52:56.228 [main] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (GemspecError)
[!] There was an error while loading elasticsearch-api.gemspec: No such file or directory - git. Bundler cannot continue.

from /opt/vendor/elasticsearch-api-5.0.5/elasticsearch-api.gemspec:15


s.files = git ls-files.split($/)

s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }



Please share the entire Logstash log and provide more context on how you installed Logstash and how you are running it, the path you shared is not the default for any type of installation.


This is complete logs.

Running Logstash :- bin/logstash -f "config/file"

You will probably have a lot more lines, please run it again to get more logs and share them using the preformatted text option, the </> button.

What does your config file looks like? Please share it using the preformatted text option.

Also, how you installed it?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.