Offline install x-pack on windows fails v5.3.0

Hi

I am trying to incorporate x-pack in my logstash setup scripts. However offline install of x-pack seems to be broken on windows.

If I install it online , it works fine.

c:\elastic\logstash\bin>call logstash-plugin install file:///elastic/install/plugins/x-pack-5.3.0.zip
ERROR: File not found for: file:///elastic/install/plugins/x-pack-5.3.0.zip, message: Can't file local file /elastic/install/plugins/x-pack-5.3.0.zip

c:\elastic\logstash\bin>dir \elastic\install\plugins\x-pack-5.3.0.zip
Volume in drive C has no label.
Volume Serial Number is 4E2F-D95B

Directory of c:\elastic\install\plugins

29-03-2017 17:37 126.084.986 x-pack-5.3.0.zip
1 File(s) 126.084.986 bytes
0 Dir(s) 341.778.362.368 bytes free

Have you seen this before ?

Regards
Kim

Hello,
Did you try with the following URI with /// see doc: https://en.wikipedia.org/wiki/File_URI_scheme#Windows

bin/logstash-plugin install file:///c:/elastic/install/plugins/x-pack-5.3.0.zip

I think our x-pack installation page would benefit to have a windows example when you are trying to do everything offline. I will suggest that.

Hi Pier

That syntax did the trick :wink:

c:\elastic\logstash>bin\logstash-plugin install file:///c:/elastic/install/plugins/x-pack-5.3.0.zip
Installing file: /c:/elastic/install/plugins/x-pack-5.3.0.zip
Install successful

Thnx for your help

Regards
Kim