2-Olly
Grafana-Stack
VM-Setup
Loki
Loki with S3

cat /etc/loki/config.yml

auth_enabled: false

server: http_listen_port: 3100 grpc_listen_port: 9096 log_level: debug grpc_server_max_concurrent_streams: 1000

common: instance_addr: 127.0.0.1 path_prefix: /etc/loki storage: filesystem: chunks_directory: /etc/loki/chunks rules_directory: /etc/loki/rules replication_factor: 1 ring: kvstore: store: inmemory

query_range: results_cache: cache: embedded_cache: enabled: true max_size_mb: 100

limits_config: retention_period: 24h

storage_config: tsdb_shipper: active_index_directory: /etc/loki/index cache_location: /etc/loki/index_cache cache_ttl: 24h resync_interval: 1h

aws: s3: s3://ap-south-1 bucketnames: lokiapr142024

schema_config: configs:

  • from: 2020-07-01 store: tsdb object_store: s3 # filesystem schema: v13 index: prefix: index_ period: 24h

pattern_ingester: enabled: true metric_aggregation: loki_address: localhost:3100

ruler: alertmanager_url: http://localhost:9093 (opens in a new tab)

frontend: encoding: protobuf

compactor: working_directory: /etc/loki/compactor retention_enabled: true retention_delete_delay: 10m retention_delete_worker_count: 2 delete_request_store: filesystem

loki --version

loki, version 3.4.3 (branch: release-3.4.x, revision: e038d0fc) build user: root@2e5b5e02daaa build date: 2025-04-03T13:36:49Z go version: go1.23.6 platform: linux/amd64 tags: netgo


💬 Need a Quick Summary?

Hey! Don't have time to read everything? I get it. 😊
Click below and I'll give you the main points and what matters most on this page.
Takes about 5 seconds • Uses Perplexity AI