You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We installed the loki with S3 as storage with object_prefix /loki-logs . all the logs are flowing into path. but when i try to create the rule its store as <<bucket_name>>/rules/fake
Are your rules not being created? Or is the problem that "its store as <<bucket_name>>/rules/fake"?
Because if you're running in single tenant mode, then Loki sets the tenant ID to fake, so this is expected behavior.
Rules are creating. but the rules are not storing the configured prefix.
Ex : I configured the object_prefix like <<bucket_name>>/loki-logs . the rules are storing under the <<bucket_name>>/rules . we would like store under the <<bucket_name>>/loki-logs/rules like that.
Logs are storing under the <<bucket_name>>/loki-logs but not rules
Describe the bug
We installed the loki with S3 as storage with object_prefix /loki-logs . all the logs are flowing into path. but when i try to create the rule its store as <<bucket_name>>/rules/fake
below is my configuration
helm:
parameters:
- name: loki.auth_enabled
value: 'false'
- name: loki.storage.type
value: s3
- name: loki.storage.bucketNames.chunks
value: {{ .Values.loki.bucket }}
- name: loki.storage.bucketNames.ruler
value: {{ .Values.loki.bucket }}
- name: loki.storage.bucketNames.admin
value: {{ .Values.loki.bucket }}
- name: loki.storage.s3.s3
value: s3://{{ .Values.loki.bucket }}
- name: loki.storage.s3.endpoint
value: s3.{{ .Values.loki.aws_region }}.amazonaws.com
- name: loki.storage.s3.region
value: {{ .Values.loki.aws_region }}
- name: loki.storage.s3.accessKeyId
value: {{ .Values.loki.aws_accessKey }}
- name: loki.storage.s3.secretAccessKey
value: {{ .Values.loki.aws_secretKey }}
- name: loki.storage.s3.s3ForcePathStyle
value: 'false'
- name: loki.storage.s3.insecure
value: 'false'
values: |-
loki:
auth_enabled: false
storage_config:
object_prefix: loki-logs
schemaConfig:
configs:
- from: 2024-04-01
store: tsdb
object_store: s3
schema: v13
index:
prefix: loki_index_
period: 24h
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A loki rule will be created without errir
Environment:
Screenshots, Promtail config, or terminal output
The text was updated successfully, but these errors were encountered: