# Filebeat 7.11.0 multiples path and multiples index

**URL:** <https://discuss.elastic.co/t/filebeat-7-11-0-multiples-path-and-multiples-index/310761>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 27, 2022, 2:19pm UTC](https://discuss.elastic.co/t/filebeat-7-11-0-multiples-path-and-multiples-index/310761 "2022-07-27T14:19:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pi314](https://avatars.discourse-cdn.com/v4/letter/p/b487fb/32.png) [@pi314](https://discuss.elastic.co/u/pi314)\
**Post date:** [July 27, 2022, 2:19pm UTC](https://discuss.elastic.co/t/filebeat-7-11-0-multiples-path-and-multiples-index/310761/1 "2022-07-27T14:19:11Z")

</div>

Hi, I need to create several indexes for different log files.  
I am using the following settings:

```auto
setup.ilm:
  enabled: false
setup.template:
  enabled: true
  name: "log_dev_testing
  pattern: "log_dev_testing-*"
  settings.index.number_of_shards: 3
  settings.index.codec: best_compression

ignore_older: 90d
logging.level: debug
logging.metrics.period: 10s
logging.to_files: true
logging.files:
  rotateeverybytes: 16777216
  keepfiles: 7
  permissions: 0600

filebeat.inputs:
- type: log
  enabled: true
  fields: {
    app : testing-XX
  }
  paths:
    - "/var/log/ftp/XX/debug.log"
    - "/var/log/ftp/XX/operations_debug.log"

- type: log
  enabled: true
  fields: {
    app: testing-XXX
  }
  paths:
    - "/var/log/ftp/XXX/debug.log"
    - "/var/log/ftp/XXX/operations_debug.log"

output.elasticsearch:
  hosts: ["server:9200"]
  protocol: "https"
  username: "XXXXXXXXXXXX"
  password: "XXXXXXXXXXXX"
  ssl.verification_mode: none
  indices:
    - index: "log_dev_testing_xx-%{+yyyy.MM.dd}"
      when.contains:
        app: "testing-xx"
    - index: "log_dev_testing_xxx-%{+yyyy.MM.dd}"    
      when.contains:
        app: "testing-xxx"

```

In the Kibana I do not see that the index is being created.

Is there something wrong with my setup?

Any ideas??

---

<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 24, 2022, 4:20pm UTC](https://discuss.elastic.co/t/filebeat-7-11-0-multiples-path-and-multiples-index/310761/2 "2022-08-24T16:20:06Z")

</div>

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