# Filebeat adds drive letter to path

**URL:** <https://discuss.elastic.co/t/filebeat-adds-drive-letter-to-path/253470>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 27, 2020, 4:23pm UTC](https://discuss.elastic.co/t/filebeat-adds-drive-letter-to-path/253470 "2020-10-27T16:23:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimmyvalmer19](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@jimmyvalmer19](https://discuss.elastic.co/u/jimmyvalmer19)\
**Post date:** [October 27, 2020, 4:23pm UTC](https://discuss.elastic.co/t/filebeat-adds-drive-letter-to-path/253470/1 "2020-10-27T16:23:26Z")

</div>

Hi,  
since I always get help here, i try next one. This may be something very obvious, but i spent already few hours on this.

It's about filebeat (7.3.0) running on Windows server  
I'm using shared drive in my Filebeat inputs.yml file:

```
- type: log
  paths:
    - \\vsfs10\\ifpcshare\\InformaticaServer\\WorkflowLogs\\**\\*.log

```

And when I start Filebeat it thinks, that the path is

> I:\vsfs10\ifpcshare\InformaticaServer\WorkflowLogs\*.log

according to logfile. Filebeat is adding "I:" to my path.

I start Filebeat from command line just by going to location **I:\Filebeat** and entering **.\filebeat.exe**

I already tried to put my path in single quotes like this:

> ```
> - '\\vsfs10\\ifpcshare\\InformaticaServer\\WorkflowLogs\\**\\*.log'
> 
> ```

And I tried to escape backslashes like this:

> ```
> - \\\\vsfs10\\ifpcshare\\InformaticaServer\\WorkflowLogs\\**\\*.log
> 
> ```

Which didn't help obviously.

---

<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:** [November 24, 2020, 6:23pm UTC](https://discuss.elastic.co/t/filebeat-adds-drive-letter-to-path/253470/2 "2020-11-24T18:23:44Z")

</div>

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