# Logstash as a service, it does not connect to the network drives to read files

**URL:** https://discuss.elastic.co/t/logstash-as-a-service-it-does-not-connect-to-the-network-drives-to-read-files/147083
**Category:** Logstash
**Created:** [September 3, 2018, 1:46pm UTC](https://discuss.elastic.co/t/logstash-as-a-service-it-does-not-connect-to-the-network-drives-to-read-files/147083 "2018-09-03T13:46:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![emmanuel792](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@emmanuel792](https://discuss.elastic.co/u/emmanuel792)
#### Post date: [September 3, 2018, 1:46pm UTC](https://discuss.elastic.co/t/logstash-as-a-service-it-does-not-connect-to-the-network-drives-to-read-files/147083/1 "2018-09-03T13:46:28Z")

</div>

I am configuring logstash as a windows service, with the procrun tool.  
Everything is configured, is problent  
when I run logstash as a service, it does not connect to the network drives to read files. but when I run it with the same tool procrun by console, if it reads the files in network drives.

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [September 3, 2018, 2:11pm UTC](https://discuss.elastic.co/t/logstash-as-a-service-it-does-not-connect-to-the-network-drives-to-read-files/147083/2 "2018-09-03T14:11:57Z")

</div>

Does the account that Logstash runs as have access to those network locations?

I don't know how this works nowadays, but at least ten years ago a Windows service couldn't access network resources by default.

---

<div class="post-metadata">

### Author: ![emmanuel792](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@emmanuel792](https://discuss.elastic.co/u/emmanuel792)
#### Post date: [September 3, 2018, 2:22pm UTC](https://discuss.elastic.co/t/logstash-as-a-service-it-does-not-connect-to-the-network-drives-to-read-files/147083/3 "2018-09-03T14:22:44Z")

</div>

Yes, the service is authenticated with a user with permissions.

---

<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: [October 1, 2018, 2:24pm UTC](https://discuss.elastic.co/t/logstash-as-a-service-it-does-not-connect-to-the-network-drives-to-read-files/147083/4 "2018-10-01T14:24:00Z")

</div>

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