# Is it possible to have multiple inputs with different type

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-have-multiple-inputs-with-different-type/192486>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 26, 2019, 6:01pm UTC](https://discuss.elastic.co/t/is-it-possible-to-have-multiple-inputs-with-different-type/192486 "2019-07-26T18:01:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanjok](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tanjok/32/22686_2.png) [@tanjok](https://discuss.elastic.co/u/tanjok)\
**Post date:** [July 26, 2019, 6:01pm UTC](https://discuss.elastic.co/t/is-it-possible-to-have-multiple-inputs-with-different-type/192486/1 "2019-07-26T18:01:15Z")

</div>

Hello.

Is it possible to have multiple inputs with different type? Something like this.

```auto
filebeat.inputs:
  - type: docker
    containers:
      path: "/usr/share/filebeat/dockerlogs/data"
      stream: "stdout"
      ids:
        - "*"
    processors:
      - drop_event:
          when:
            contains:
              log.file.path: "/usr/share/filebeat/applogs/"
      - decode_json_fields:
          fields: ["log", "message"]
      - add_docker_metadata: ~

  - type: log
    paths:
      - "/usr/share/filebeat/applogs/backend-server/backend-server.log"
      - "/usr/share/filebeat/applogs/ui-server/ui-server.log"

```

Thanks in advance

---

<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:** [August 23, 2019, 6:01pm UTC](https://discuss.elastic.co/t/is-it-possible-to-have-multiple-inputs-with-different-type/192486/2 "2019-08-23T18:01:20Z")

</div>

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