I don't know what went wrong

server:
  grpc_listen_port: 9095
  http_listen_port: 3100

auth_enabled: false

chunk_store_config:
  max_look_back_period: 0s

ingester:
  chunk_block_size: 262144
  chunk_idle_period: 3m
  chunk_retain_period: 1m
  lifecycler:
    ring:
      replication_factor: 1
  max_transfer_retries: 0
  wal:
    dir: /data/loki/wal

compactor:
  working_directory: /data/retention
  compaction_interval: 10m
  retention_enabled: true
  retention_delete_delay: 2h
  retention_delete_worker_count: 150
  delete_request_store: alibabacloud
    
limits_config:
  retention_period: 168h
  enforce_metric_name: false
  max_entries_limit_per_query: 5000
  reject_old_samples: true
  reject_old_samples_max_age: 168h

schema_config:
  configs:
  - from: 2024-11-20
    store: tsdb
    object_store: alibabacloud
    schema: v13
    index:
      prefix: index_
      period: 24h    

storage_config:
  tsdb_shipper:
    active_index_directory: loki/index
    cache_location: loki/index_cache
  alibabacloud:
    bucket: ***
    endpoint: ***
    access_key_id: ***
    secret_access_key: ***

What is the log said?

image

can you help me.

The logs are pretty clear. You have configurations that are not where they should be. For example, query_store_max_look_back_period should be under engine of a particular component such as ingester or querier. I’d say cross reference the logs and the documentation (Grafana Loki configuration parameters | Grafana Loki documentation) and correct them.