# Logstash 5.2.2 offline install on Windows - Can't find file

**URL:** https://discuss.elastic.co/t/logstash-5-2-2-offline-install-on-windows-cant-find-file/77542
**Category:** Logstash
**Created:** [March 6, 2017, 4:14pm UTC](https://discuss.elastic.co/t/logstash-5-2-2-offline-install-on-windows-cant-find-file/77542 "2017-03-06T16:14:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![franhoeyemac](https://avatars.discourse-cdn.com/v4/letter/f/c68b51/32.png) [@franhoeyemac](https://discuss.elastic.co/u/franhoeyemac)
#### Post date: [March 6, 2017, 4:14pm UTC](https://discuss.elastic.co/t/logstash-5-2-2-offline-install-on-windows-cant-find-file/77542/1 "2017-03-06T16:14:52Z")

</div>

I'm trying to setup logstash on a server with no internet access to read windows event logs

I've followed the instructions here - [https://www.elastic.co/guide/en/logstash/current/offline-plugins.html](https://www.elastic.co/guide/en/logstash/current/offline-plugins.html)

- Installed logstash-input-eventlog on my desktop (with internet access)
- Run the command `bin\logstash-plugin prepare-offline-pack --output C:\Development\Stuff\ElasticStack\plugins\logstash-input-eventlog logstash-input-eventlog`
- Copied the file to the server
- Ran the command `bin\logstash-plugin install file://C:/ElasticStack/logstash-5.2.2/logstash-input-eventlog.zip`

Output (with debug):

````auto
Local file: /ElasticStack/logstash-5.2.2/logstash-input-eventlog.zip
Installing with strategy: LogStash::PluginManager::PackInstaller::Local
LogStash::PluginManager::FileNotFoundError: Can't file local file /ElasticStack/logstash-5.2.2/logstash-input-eventlog.zip
  execute at c:/ElasticStack/logstash-5.2.2/lib/pluginmanager/pack_installer/local.rb:23
  execute at c:/ElasticStack/logstash-5.2.2/lib/pluginmanager/install.rb:32
      run at c:/ElasticStack/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67
  execute at c:/ElasticStack/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/subcommand/execution.rb:11
      run at c:/ElasticStack/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67
      run at c:/ElasticStack/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132
   (root) at c:\ElasticStack\logstash-5.2.2\lib\pluginmanager\main.rb:46```

I've tried several formats for file path with no luck. The format used in the example above can be copied into windows explorer to successfully navigate into the zip file.

Any ideas?
Thanks
Fran
````

---

<div class="post-metadata">

### Author: ![badgerx](https://avatars.discourse-cdn.com/v4/letter/b/c0e974/32.png) [@badgerx](https://discuss.elastic.co/u/badgerx)
#### Post date: [March 9, 2017, 11:17am UTC](https://discuss.elastic.co/t/logstash-5-2-2-offline-install-on-windows-cant-find-file/77542/2 "2017-03-09T11:17:01Z")

</div>

I had a similar issue - still not resolved as I need to find a zip for the plugin I'm trying to install offline. But in playing with offline install I noticed that

```
bin\logstash-plugin install file://C:/ElasticStack/logstash-5.2.2/logstash-input-eventlog.zip

```

will result in in resolution to path:

```
ElasticStack/logstash-5.2.2/logstash-input-eventlog.zip

```

changing it to include a non-relative ?switch? i.e. an extra forward slash ensures that the correct path is resolved.

e.g.

```
bin\logstash-plugin install file:///C:/ElasticStack/logstash-5.2.2/logstash-input-eventlog.zip

```

resolves to

```
/C:/ElasticStack/logstash-5.2.2/logstash-input-eventlog.zip

```

HTH

---

<div class="post-metadata">

### Author: ![franhoeyemac](https://avatars.discourse-cdn.com/v4/letter/f/c68b51/32.png) [@franhoeyemac](https://discuss.elastic.co/u/franhoeyemac)
#### Post date: [March 30, 2017, 12:48pm UTC](https://discuss.elastic.co/t/logstash-5-2-2-offline-install-on-windows-cant-find-file/77542/3 "2017-03-30T12:48:57Z")

</div>

Thank you

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 27, 2017, 12:49pm UTC](https://discuss.elastic.co/t/logstash-5-2-2-offline-install-on-windows-cant-find-file/77542/4 "2017-04-27T12:49:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
