Filebeat error when setting index name

filebeat.inputs:
  - type: log
    enabled: true
    paths:
        - /FSEBroker\*.*
      

output.elasticsearch:
  hosts: [ "http://172.19.1.12:9200"]
  protocol: "http"
  index: "fss2-%{+yyyy.MM.dd}"

log error


G:\>G:\filebeat-7.13.0-windows-x86_64\filebeat.exe -c G:\filebeatFs1.yml -e
2022-10-15T12:42:40.455+0200    INFO    instance/beat.go:665    Home path: [G:\filebeat-7.13.0-windows-x86_64] Config path: [G:\filebeat-7.13.0-windows-x86_64] Data path: [G:\filebeat-7.13.0-windows-x86_64\data] Logs path: [G:\filebeat-7.13.0-windows-x86_64\logs]
2022-10-15T12:42:40.455+0200    INFO    instance/beat.go:673    Beat ID: 38f0575b-c446-40d3-b677-8ae211f7dcf2
2022-10-15T12:42:40.457+0200    INFO    instance/beat.go:391    filebeat stopped.
2022-10-15T12:42:40.457+0200    ERROR   instance/beat.go:989    Exiting: setup.template.name and setup.template.pattern have to be set if index name is modified
Exiting: setup.template.name and setup.template.pattern have to be set if index name is modified

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