Unable to install Syslog Output Plugin

Hi Team,
Could you please guide me on installing the Syslog output plugin on our Logstash server? We tried installing it using the method mentioned on ruby.org, but it didn't work.
Kindly share the correct steps or procedure to install the plugin properly.
Steps we tried:
Please check steps:
Download file from: https://rubygems.org/downloads/logstash-output-syslog-3.0.7.gem
Install: sudo /usr/share/logstash/bin/logstash-plugin install file:///tmp/logstash-output-syslog-3.0.7.gem
Verify installation: /usr/share/logstash/bin/logstash-plugin list --verbose | grep syslog

Thank you.

What Logstash version you are and what didn't work? You didn't share the error.

Also, the syslog output plugin is bundled in Logstash, any reason to install a different version from the one that is bundled?

Hi Leandro,

I need to forward some error logs to Qradder using Logstash, and I’m facing issues during the plugin installation process. My Logstash version is 8.15.0. I am attaching all the screenshots for your reference.

Installation_error

Could you please check and guide me on how to proceed?

Thanks & Regards,

Swarali