What's the environment variable to persist data?

How can I persist modified data between different containers or ephemeral instances?

Use CRIBL_VOLUME_DIR
This sets a directory that persists modified data between different containers or ephemeral instances.

Additional info detailed in the docs here:
https://docs.cribl.io/logstream/cli-reference/#persistent-volumes