# How to resolve !map \[\]ConfigProspector error?

**URL:** <https://discuss.elastic.co/t/how-to-resolve-map-configprospector-error/43007>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 29, 2016, 2:07pm UTC](https://discuss.elastic.co/t/how-to-resolve-map-configprospector-error/43007 "2016-02-29T14:07:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandni007](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@chandni007](https://discuss.elastic.co/u/chandni007)\
**Post date:** [February 29, 2016, 2:07pm UTC](https://discuss.elastic.co/t/how-to-resolve-map-configprospector-error/43007/1 "2016-02-29T14:07:00Z")

</div>

Hi all,

I am new to filebeat . I have install filebeat 1.2.0 and have created a file called filebeat\_consol.yml as ..

```
 filebeat:
  prospectors:
      input_type: stdin
output:
  console:
    pretty: true

```

and when i am running this file with `sudo ./filebeat -c filebeat_consol.yml` I am getting this error

```
Start error: Error reading config file: YAML config parsing failed on filebeat_consol.yml: yaml: unmarshal errors:
  line 3: cannot unmarshal !!map into []config.ProspectorConfig. Exiting

```

Please help mee with this 🙂

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [February 29, 2016, 3:23pm UTC](https://discuss.elastic.co/t/how-to-resolve-map-configprospector-error/43007/2 "2016-02-29T15:23:57Z")

</div>

1. filebeat 1.2.0 does not exist. You likely installed some nightly build?

2. you filebeat config looks faulty. Error is indicating a problem parsing your config file. prospectors requires an array (must start with `-`)

---

<div class="post-metadata">

**Author:** ![chandni007](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@chandni007](https://discuss.elastic.co/u/chandni007)\
**Post date:** [March 1, 2016, 4:26am UTC](https://discuss.elastic.co/t/how-to-resolve-map-configprospector-error/43007/3 "2016-03-01T04:26:16Z")

</div>

Thanks for the reply .  
Actually i want to send my logs to kafka and so I found [from this](https://discuss.elastic.co/t/solved-using-the-kafka-output-the-development-build-of-filebeat/42742) link about installing filebeat-1.2.0-nightlylatest-windows.zip and so i downloaded the tar.gz file

---

<div class="post-metadata">

**Author:** ![chandni007](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@chandni007](https://discuss.elastic.co/u/chandni007)\
**Post date:** [March 1, 2016, 5:21am UTC](https://discuss.elastic.co/t/how-to-resolve-map-configprospector-error/43007/4 "2016-03-01T05:21:47Z")

</div>

> [@steffens](#):
>
> you filebeat config looks faulty. Error is indicating a problem parsing your config file. prospectors requires an array (must start with -)

Thanks it worked 🙂

---

<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:** [July 5, 2017, 9:55pm UTC](https://discuss.elastic.co/t/how-to-resolve-map-configprospector-error/43007/5 "2017-07-05T21:55:16Z")

</div>


