|
Hi, I'm using the apiVersion: logging.banzaicloud.io/v1beta1
kind: Output
metadata:
name: logs-file.output
namespace: ns
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 in which filesystem the logs are stored. Ideally, I'd like to store them inside an existing PersistentVolume, using a PVC (PersistentVolumeClaim) but I don't know how/where to configure this. Could you help me please? |
Answered by
pepov
Dec 5, 2024
Replies: 1 comment 3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With the logging operator you would configure this in either the
Loggingresource (spec.fluentd) or theFluentdConfigresource.Here is an example:
#1304
Let me know if this doesn't answer your question!