# Filebeat 8.5 pattern not applying to index + the Indices shows as .ds-\<name\>?

**URL:** https://discuss.elastic.co/t/filebeat-8-5-pattern-not-applying-to-index-the-indices-shows-as-ds-name/320220
**Category:** Beats
**Tags:** docker, filebeat
**Created:** [December 1, 2022, 7:46am UTC](https://discuss.elastic.co/t/filebeat-8-5-pattern-not-applying-to-index-the-indices-shows-as-ds-name/320220 "2022-12-01T07:46:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![amir\_Bialek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amir_bialek/32/109973_2.png) [@amir\_Bialek](https://discuss.elastic.co/u/amir_Bialek)
#### Post date: [December 1, 2022, 7:46am UTC](https://discuss.elastic.co/t/filebeat-8-5-pattern-not-applying-to-index-the-indices-shows-as-ds-name/320220/1 "2022-12-01T07:46:19Z")

</div>

Hello all,

I am using the new Filebeat Helm (8.50 to collect logs from several microservices and send them directly to elasticsearch (EFK).

I've edited the Values.yaml under daemonset with the following:

```auto
  filebeatConfig:
    filebeat.yml: |
      filebeat.inputs:
      - type: container
        paths:
          - /var/log/containers/*.log
        processors:
        - add_kubernetes_metadata:
            host: ${NODE_NAME}
            matchers:
            - logs_path:
                logs_path: "/var/log/containers/"

      output.elasticsearch:
        host: '${NODE_NAME}'
        hosts: '["https://${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}"]'
        username: '${ELASTICSEARCH_USERNAME}'
        password: '${ELASTICSEARCH_PASSWORD}'
        protocol: https
        ssl.certificate_authorities: ["/usr/share/filebeat/certs/ca.crt"]
        index: "test"
      setup.template:
        name: "test"
        pattern: "test"
      setup.ilm:
        enabled: true
        rollover_alias: "test"
        pattern: "000001"
        policy_file: /usr/share/filebeat/ilm.json
        overwrite: true
        policy_name: "daily"
      setup.dashboards:
        enabled: true
        index: "test*"
      setup.kibana.host: kibana:5601 

    ilm.json: |
      {
        "policy": {
          "phases": {
            "hot": {
              "actions": {
                "rollover": {
                  "max_age": "1d"
                }
              }
            },
            "delete": {
              "min_age": "7d",
              "actions": {
                "delete": {}
              }
            }
          }
        }
      }

```

The ILM "daily" is created and Linked to index test, and to Indices ".ds-test-2022.12.01-000001" instead of "test-000001".  
Also since it start with .ds it is hidden, which is not convinent.

- Can you help me understand what am I missing on the setting?
- Should I have also edited it under the Deployment in the helm.yaml?

Thank you.

---

<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: [December 29, 2022, 9:47am UTC](https://discuss.elastic.co/t/filebeat-8-5-pattern-not-applying-to-index-the-indices-shows-as-ds-name/320220/2 "2022-12-29T09:47:00Z")

</div>

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