title: How to use S3 as storage for Loki logs?
body: <p>I am fairly new to Kubernetes, Helm and Loki.</p>
  <p>I have deployed Loki-stack on my minikube cluster using Helm charts and I am trying to use S3 storage as storage for Loki logs.</p>
  <p>I tried adding the following from the <a href="https://grafana.com/docs/loki/latest/configuration/examples/#s3-expanded-configyaml" rel="nofollow noreferrer">documentation of Loki</a> to my custom chart and customizing it to my running S3 instance.</p>
  <pre><code>schema_config:
    configs:
    - from: 2020-05-15
      store: aws
      object_store: s3
      schema: v11
      index:
        prefix: loki_
  storage_config:
    aws:
      bucketnames: bucket_name1, bucket_name2
      endpoint: s3.endpoint.com
      region: s3_region
      access_key_id: s3_access_key_id
      secret_access_key: s3_secret_access_key
      insecure: false
      sse_encryption: false
      http_config:
        idle_conn_timeout: 90s
        response_header_timeout: 0s
        insecure_skip_verify: false
      s3forcepathstyle: true
  </code></pre>
  <p>I made sure to customize the region, bucket names, endpoint, etc.
  But Loki is not storing any logs whatsoever there. I would like some help to show me what I might be missing or doing wrong?</p>