# Loki 3.4.2 single binary: log store. Logs arrive by OTLP (https://loki:3100/otlp, mTLS) from the Collector. # service.name -> stream label service_name; log attributes (event, code.*) and trace_id/span_id -> structured metadata. auth_enabled: false server: http_listen_port: 3100 # Internal gRPC of the single binary: loopback only (closed local hop, not reachable from the network). grpc_listen_address: 127.0.0.1 grpc_listen_port: 9096 log_level: warn # lab7: HTTPS with mandatory client certificates from the "Telemetry Clients CA" (collector-out pushes, # grafana-out queries, operator evidence). No certificate / another CA -> TLS handshake refused. http_tls_config: cert_file: /run/secrets/server.crt key_file: /run/secrets/server.key client_auth_type: RequireAndVerifyClientCert client_ca_file: /run/secrets/telemetry-ca.crt common: instance_addr: 127.0.0.1 path_prefix: /loki storage: filesystem: chunks_directory: /loki/chunks rules_directory: /loki/rules replication_factor: 1 ring: kvstore: store: inmemory schema_config: configs: - from: "2024-01-01" store: tsdb object_store: filesystem schema: v13 index: prefix: index_ period: 24h limits_config: allow_structured_metadata: true retention_period: 168h ingestion_rate_mb: 8 ingestion_burst_size_mb: 16 volume_enabled: true compactor: working_directory: /loki/compactor retention_enabled: true delete_request_store: filesystem analytics: reporting_enabled: false