# Mount ExistingClaim in Logstash install with Helm

**URL:** <https://discuss.elastic.co/t/mount-existingclaim-in-logstash-install-with-helm/303784>\
**Category:** Logstash\
**Created:** [May 2, 2022, 10:15pm UTC](https://discuss.elastic.co/t/mount-existingclaim-in-logstash-install-with-helm/303784 "2022-05-02T22:15:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dallas\_Toth](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dallas_toth/32/22630_2.png) [@Dallas\_Toth](https://discuss.elastic.co/u/Dallas_Toth)\
**Post date:** [May 2, 2022, 10:15pm UTC](https://discuss.elastic.co/t/mount-existingclaim-in-logstash-install-with-helm/303784/1 "2022-05-02T22:15:59Z")

</div>

I am using the official Helm chart for Logstash.  
I want to mount a volume using an existingClaim that has some dictionaries that will be used for translate filters across multiple Logstash instances.

How do I bring in the PVC I created called dictionary and have it mounted into  
/usr/share/logstash/config/dic ?

---

<div class="post-metadata">

**Author:** ![Dallas\_Toth](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dallas_toth/32/22630_2.png) [@Dallas\_Toth](https://discuss.elastic.co/u/Dallas_Toth)\
**Post date:** [May 3, 2022, 2:14pm UTC](https://discuss.elastic.co/t/mount-existingclaim-in-logstash-install-with-helm/303784/2 "2022-05-03T14:14:03Z")

</div>

Figured it out using the Extras using either a configmap or a PVC persistentVolumeClaim. It was hard to find specific examples of this so here is what works.

```auto
persistence:
  enabled: false
  annotations: {}

extraVolumeMounts:
  - name: list
    mountPath: "/usr/share/logstash/config/listings.yaml"
    subPath: listings.yaml
    readOnly: true
  - name: dictionary
    mountPath: "/usr/share/logstash/config/dictionary"
    readOnly: true
extraVolumes:
  - name: list
    configMap:
      name: listings
  - name: dictionary
    persistentVolumeClaim:
      claimName: dictionary

```

You can also use the secretMount for a file in some cases.

```auto
secretMounts:
  - name: querytemplate
    secretName: querytemplate
    path: /usr/share/logstash/config/scripts

```

---

<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:** [May 31, 2022, 2:15pm UTC](https://discuss.elastic.co/t/mount-existingclaim-in-logstash-install-with-helm/303784/3 "2022-05-31T14:15:01Z")

</div>

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