# Filebeat + Windows: Spaces in directories

**URL:** <https://discuss.elastic.co/t/filebeat-windows-spaces-in-directories/102584>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 3, 2017, 3:04pm UTC](https://discuss.elastic.co/t/filebeat-windows-spaces-in-directories/102584 "2017-10-03T15:04:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roger\_Keulen](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@Roger\_Keulen](https://discuss.elastic.co/u/Roger_Keulen)\
**Post date:** [October 3, 2017, 3:04pm UTC](https://discuss.elastic.co/t/filebeat-windows-spaces-in-directories/102584/1 "2017-10-03T15:04:33Z")

</div>

I'm trying to setup filebeat on a windows machine

The dir of apache logs = C:/Program Files (x86)/EasyPHP/binaries/apache/logs/error\*

The error i get is:  
Exiting: Error getting config for fielset apache2/error: Error interpreting the template of the prospector: template: text:3:22: executing "text" at \<.paths\>: range can't iterate over C:/Program Files (x86)/EasyPHP/binaries/apache/logs/error\*

Can you gave a example how to fill in a unstructered file called: "yml".

---

<div class="post-metadata">

**Author:** ![Roger\_Keulen](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@Roger\_Keulen](https://discuss.elastic.co/u/Roger_Keulen)\
**Post date:** [October 3, 2017, 3:08pm UTC](https://discuss.elastic.co/t/filebeat-windows-spaces-in-directories/102584/2 "2017-10-03T15:08:54Z")

</div>

Got it....

You must put a "-" before it, beacuse that is how "linux" people write lists aperantly.

I like XML with a schema. Linux people are still living in the 50's....

---

<div class="post-metadata">

**Author:** ![Roger\_Keulen](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@Roger\_Keulen](https://discuss.elastic.co/u/Roger_Keulen)\
**Post date:** [October 3, 2017, 3:12pm UTC](https://discuss.elastic.co/t/filebeat-windows-spaces-in-directories/102584/3 "2017-10-03T15:12:14Z")

</div>

Next problem. Now i need a string to tell him "no\_plugins"

I already tried:

var.pipeline: no\_plugins  
var.pipeline: "no\_plugins"  
var.pipeline: 'no\_plugins'

- var.pipeline: no\_plugins  
var.pipeline: [no\_plugins]

Programming in notepad is super cool..... and high tech !

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [October 4, 2017, 7:08am UTC](https://discuss.elastic.co/t/filebeat-windows-spaces-in-directories/102584/4 "2017-10-04T07:08:27Z")

</div>

Could you share the whole file you are trying to edit? Please format it using the `</>` button in the editors toolbar.

---

<div class="post-metadata">

**Author:** ![Roger\_Keulen](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@Roger\_Keulen](https://discuss.elastic.co/u/Roger_Keulen)\
**Post date:** [October 4, 2017, 12:50pm UTC](https://discuss.elastic.co/t/filebeat-windows-spaces-in-directories/102584/5 "2017-10-04T12:50:45Z")

</div>

No, that is not possible, I get a error: "Body is limited to 7000 characters; you entered 37965."  
I tried to remove all the "help" you need to give people, but i can have made mistakes.

filebeat.modules:

- module: apache2

output.elasticsearch:  
hosts: ["localhost:9200"]  
username: "elastic"  
password: "changeme"

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [October 4, 2017, 2:45pm UTC](https://discuss.elastic.co/t/filebeat-windows-spaces-in-directories/102584/6 "2017-10-04T14:45:22Z")

</div>

Unfortunately, the support of `no_plugins` option was removed. I have found documentation which includes it, but it is not right. We will update the docs.

So if you want to use `apache2` you have to install the plugins.

---

<div class="post-metadata">

**Author:** ![Roger\_Keulen](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@Roger\_Keulen](https://discuss.elastic.co/u/Roger_Keulen)\
**Post date:** [October 5, 2017, 6:37am UTC](https://discuss.elastic.co/t/filebeat-windows-spaces-in-directories/102584/7 "2017-10-05T06:37:10Z")

</div>

Thanx !

(Not having the plugin isn't the problem, as long i know the way i have to  
fill this in is correctly.)

---

<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 2, 2017, 6:37am UTC](https://discuss.elastic.co/t/filebeat-windows-spaces-in-directories/102584/8 "2017-11-02T06:37:15Z")

</div>

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