Is it possible to have multiple inputs with different type

Hello.

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

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