How to persist data after logstash pod restart?

Hello All,

I am using Logstash helm chart. I want to persist a file after logstash pod restart. For that I can see an option

persistence:
  enabled: true

But there is no much documentation on it on how to pass variables like Persistent Volume or Persistent Volume Claim. Can someone please explain me on how I can restore data from /user/share/logstash/sql_last_value.yml even after a pod restart?

Thanks