1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: Apache-2.0
5 {%- set aws_key_id = "__LOKI_AWS_S3_ACCESS_KEY_ID__" %}
6 {%- set aws_secret = "__LOKI_AWS_S3_SECRET_ACCESS_KEY__" %}
7 {%- set aws_region = "__LOKI_AWS_REGION__" %}
8 {%- set aws_s3_bucket = "__LOKI_AWS_S3_BUCKET__" %}
9 {%- set log_retention = "__LOKI_LOG_RETENTION_TIME__" %}
10 {%- set data_path = "/var/lib/loki" %}
16 config_path: "/etc/loki/config.yml"
17 data_path: {{ data_path }}
19 ########################################################################
20 # File managed by Salt. Your changes will be overwritten.
21 ########################################################################
23 http_listen_port: 3100
24 grpc_listen_port: 9096
27 instance_addr: 127.0.0.1
28 path_prefix: {{ data_path }}
31 chunks_directory: {{ data_path }}/chunks
32 rules_directory: {{ data_path }}/rules
47 active_index_directory: {{ data_path }}/index
48 cache_location: {{ data_path }}/index_cache
51 s3: s3://{{ aws_key_id }}:{{ aws_secret }}@{{ aws_region }}
52 bucketnames: {{ aws_s3_bucket }}
65 retention_period: {{ log_retention }}
68 working_directory: {{ data_path }}/retention
69 delete_request_store: aws
70 retention_enabled: true
71 compaction_interval: 10m
72 retention_delete_delay: 2h
73 retention_delete_worker_count: 100
79 reporting_enabled: false