Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filesystem and bucket not working together #12991

Open
quiquos opened this issue May 20, 2024 · 0 comments
Open

filesystem and bucket not working together #12991

quiquos opened this issue May 20, 2024 · 0 comments
Labels
type/bug Somehing is not working as expected

Comments

@quiquos
Copy link

quiquos commented May 20, 2024

Describe the bug
I have Loki 2.5.0 in kubernetes that is working perfectly with Filesystem.
Now we need to implement a bucket and update the Loki version without losing the existing data in the FileSystem of version 2.5.0.
When trying to use FileSystem and Bucket (tested with version 2.9.4 and 3.0), only the bucket is working, the file system does not appear.

To Reproduce
Steps to reproduce the behavior:

  1. configure myvalues.yaml to use both schema configs (filesystem and bucket)
  2. Install LOKI with helm (version 2.9.4 or 3.0)
  3. use grafana to check data

Expected behavior
View logs from both schemas

Environment:

  • Infrastructure: kubernetes
  • Deployment tool: helm

Screenshots, Promtail config, or terminal output
myvalues.yaml

loki:
auth_enabled: false
ingester:
lifecycler:
ring:
kvstore:
store: inmemory
replication_factor: 1
chunk_idle_period: 3m
chunk_block_size: 262144
chunk_encoding: snappy
chunk_retain_period: 1m
max_transfer_retries: 0
wal:
dir: /data/loki/wal

schemaConfig:
configs:
- from: 2024-04-17
store: boltdb-shipper
object_store: aws
schema: v12
index:
prefix: index_
period: 24h
- from: 2020-10-24
store: boltdb-shipper
object_store: filesystem
schema: v11
index:
prefix: index_
period: 24h
storage_config:
aws:
access_key_id: b3b5075...
bucketnames: bucket-Loki-Dev
endpoint: https://frdvdrigd38a.compat.objectstorage...
s3forcepathstyle: true
insecure: true
region: eu-frankfurt
secret_access_key: "8P9XJm...
boltdb_shipper:
shared_store: filesystem
active_index_directory: /data/loki/boltdb-shipper-active
cache_location: /data/loki/boltdb-shipper-cache
cache_ttl: 8760h
filesystem:
directory: /data/loki/chunks

@JStickler JStickler changed the title filesytem and bucket not working together filesystem and bucket not working together May 22, 2024
@JStickler JStickler added the type/bug Somehing is not working as expected label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Somehing is not working as expected
Projects
None yet
Development

No branches or pull requests

2 participants