# Multiple document- types in filebeat

**URL:** <https://discuss.elastic.co/t/multiple-document-types-in-filebeat/44897>\
**Category:** Beats\
**Created:** [March 19, 2016, 12:06pm UTC](https://discuss.elastic.co/t/multiple-document-types-in-filebeat/44897 "2016-03-19T12:06:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [March 19, 2016, 4:14pm UTC](https://discuss.elastic.co/t/multiple-document-types-in-filebeat/44897/2 "2016-03-19T16:14:03Z")

</div>

The formatting of your configuration is mangled so I'm not sure exactly what it looks like ( **always** post Filebeat configuration formatted as code), but it _seems_ to be this:

```auto
filebeat:
  prospectors:
    -
      paths:
         - "/home/syslog/filebeat/redware/*.log"
      document_type: syslog

      paths:
        - "/home/voip/cdr_StandAloneCluster_01_2016*"
      document_type: cucm-cdr

```

If that's the case then you're missing a "-" before the second "paths" declaration. See the example at [https://www.elastic.co/guide/en/beats/filebeat/current/configuration-filebeat-options.html](https://www.elastic.co/guide/en/beats/filebeat/current/configuration-filebeat-options.html).

---

_[View the full topic](https://discuss.elastic.co/t/multiple-document-types-in-filebeat/44897)._
