Beats-7.1.1 does not create index for custom pattern

Beats does not create an index from output.elasticsearch.index.

I have this configuration for metricbeat:
metricbeat.config.modules:
path: ${path.config}/modules.d/*.yml
reload.enabled: false

setup.template.enabled: true
setup.template.overwrite: true
setup.template.pattern: "m-*"
setup.template.name: "metricbeat7"
setup.template.settings:
  index.number_of_shards: 1
  index.number_of_replicas: 0
  index.refresh_interval: "15s"
  index.mapping.total_fields.limit: 999
  index.codec: best_compression
setup.ilm.enabled: false

output.elasticsearch:
  hosts: ["127.0.0.1:9200"]
  username: "elastic"
  password: "***********"
  index: "m-127.0.0.1-%{+yyyy.MM.dd}"

But at same time, index template and index itself are not created.

P.S. If run with standard settings in metricbeat.yml, template and index will be created with default name and settings.

User for beats has superuser permissions.

Hi Pavel, thanks for your post. I also saw a similar post for 6.5. I'll see if I can find a common thread in these posts & will let you know.

Thanks.

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