# Logging Chart : configure Fluentd extraVolumes

**URL:** <https://forums.suse.com/t/logging-chart-configure-fluentd-extravolumes/44652>\
**Category:** SUSE Rancher Prime\
**Created:** [December 5, 2024, 1:10pm UTC](https://forums.suse.com/t/logging-chart-configure-fluentd-extravolumes/44652 "2024-12-05T13:10:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![loic.brtd](https://avatars.discourse-cdn.com/v4/letter/l/edb3f5/32.png) [@loic.brtd](https://forums.suse.com/u/loic.brtd)\
**Post date:** [December 5, 2024, 1:10pm UTC](https://forums.suse.com/t/logging-chart-configure-fluentd-extravolumes/44652/1 "2024-12-05T13:10:41Z")

</div>

Hi, I’m using the [`rancher-logging`](https://github.com/rancher/charts/tree/dev-v2.10/charts/rancher-logging/102.0.3%2Bup3.17.10) Chart via the Rancher Logging plugin. I’d like to create a [File Output](https://kube-logging.dev/docs/configuration/plugins/outputs/file/) to store logs into a volume. This might look something like this :

```auto
apiVersion: logging.banzaicloud.io/v1beta1
kind: Output
metadata:
  name: logs-file.output
  namespace: my-namespace
spec:
  file:
    buffer:
      chunk_limit_size: 16MB
      flush_at_shutdown: true
      flush_interval: 5s
      flush_mode: interval
      flush_thread_count: 8
      overflow_action: drop_oldest_chunk
      retry_max_interval: 30s
      retry_timeout: 1h
      retry_type: exponential_backoff
    path: /var/nfs/logs

```

But I don’t know how to mount a PersistentVolumeClaim on Fluentd. I’m pretty sure I can specify the `extraVolumes` property on the `Logging` resource :

```auto
apiVersion: logging.banzaicloud.io/v1beta1
kind: Logging
metadata:
  name: rancher-logging-root
spec:
  controlNamespace: cattle-logging-system
  fluentbit:
    ...
  fluentd:
    ...
    extraVolumes:
      - containerName: fluentd
        path: /var/nfs/logs
        volume:
          pvc:
            source:
              claimName: logs-storage-nfs
    ...

```

But since it’s managed by HELM, I shouldn’t modify it manually, but I don’t know how to configure this via the chart values.
