As far as I know, only JDK 8 is required for logstash and I've verified that I do have it. I've tried searching for similar cases but most of them are unresolved or do have HTTP problems. I don't think that connection is the case here, but I'm not sure now either.

I've already installed ruby and tried to run

gem install logstash-core -v '5.5.0'

but it's giving me errors as well. I've manually downloaded the gem file from rubyorg but it looks for manticore gem. I've installed manticore gem manually as well but when I try to run install the gem again, it still looks for the manticore gem as a dependency, I think.

Now, I don't really know ruby and I just want to install the elapsed filter and use it on my logstash. Any ideas on why this happens and are there any step-by-step alternatives on how to have the elapsed filter installed?

At first, I thought it might have had something to do with access rights to the folder so I made a copy in the desktop and ran the plugin installation from there using powershell and cmd but it gave me the same error. For now, I downloaded the gem manually from rubyorg and installed it as a local gem. I would not prefer this, however.

May I know how your copy was installed? Was it via extracting the zip file or was there something else you did? And are there additional steps aside from installing that I should have done?

And what is the full path of your Logstash installation, by the way?
I smell spaces in the installation path, that crashes the execution of Logstash and the plugins installation...
Either that or installation path permissions.

With the Anniversary Update of Windows 10, you can finally abandon the 260 character maximum path limit in Windows. You just need to make a minor edit to the Windows Registry or Group Policy. Here’s how to make it happen.