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
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.
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.