This is my configuration, I was wondering if I can define an interval for pushing the logs to the object storage. If I can’t, what is the default time I have to wait in order to see the logs there?
apiVersion: v1
kind: ConfigMap
metadata:
name: loki-config-2
data:
loki-config.yaml: |
auth_enabled: false
server:
http_listen_port: 3100
common:
ring:
instance_addr: 127.0.0.1
kvstore:
store: inmemory
replication_factor: 1
path_prefix: /loki
schema_config:
configs:
- from: 2025-03-03
store: tsdb
object_store: s3
schema: v13
index:
prefix: index_
period: 24h
storage_config:
tsdb_shipper:
active_index_directory: /loki/index
cache_location: /loki/index_cache
resync_interval: 5s
aws:
s3: http://minio:minio@127.0.0.1:9000/logs
s3forcepathstyle: true