I have server with nginx running on. I'm trying to make filebeat installed on this server to send logs to elasticsearch directly. It sends logs, but however puts in "common" index filebeat-7.9.3-2020.11.04-000001
Here is filebeat config:
    filebeat.config:
      modules:
        path: ${path.config}/modules.d/*.yml
        reload.enabled: false
    filebeat.modules:
    - module: nginx
      access:
        enabled: true
        var.paths: ["/var/log/nginx/access.log*"]
      error:
        enabled: true
        var.paths: ["/var/log/nginx/error.log*"]
      ingress_controller:
        enabled: false
    output.elasticsearch:
      hosts: "my-ELK-server"
      index: "nginx-%{+yyyy.MM.dd}"
    setup.template.pattern: "nginx-*"
    setup.template.name: "nginx"
    setup.template.settings:
      index.number_of_replicas: 0
Filebeat also created pipeling in ingest node, but still doesn't put this log in special index.
What should I configure to achieve this?
Since I have lack of experience in Elastic Stack, maybe I misunderstood - where should be definition of special index creation?
- In filebeat.yml config?
 - In Ingest node pipeline?
 - Do I need to create Index template for it?
 
