Below are my versions i'm using.
While trying to install the X-pack into my system, it was successful for KIbana & elastic search.
When trying to install for Logstash, it is throwing the below error. I have no spaces in between the foldername.
C:\Softwares\Kibana\latest_logstash\logstash-5.2.2\logstash-5.2.2\bin>logstash-plugin install file:///C:\Softwares\Kibana\x-pack-5.2.2.zip
ERROR: Something went wrong when installing file:///C:\Softwares\Kibana\x-pack-5.2.2.zip, message: bad URI(is not URI?): https://artifacts.elastic.co/downloads/logstash-plugins/file:///C:\Softwares\Kibana\x-pack-5.2.2.zip/file:///C:\Softwares\Kibana\x-pack-5.2.2.zip-5.2.2.zip