I am trying to set up loki to use s3 bucket for storing chuncks. I am receiving the following error even I have all the credentials to access s3 bucket.
"level=error ts=2019-09-25T20:49:43.1117924Z caller=main.go:71 msg=“error initialising loki” err=“error initialising module: store: error creating object client: mkdir : no such file or directory”
My configuration as a follow:
Blockquote
schema_config:
configs:
- from: 2018-04-15
store: boltdb
object_store: s3
schema: v9
index:
prefix: index_
period: 0
storage_config:
boltdb:
directory: /tmp/loki/index
aws:
s3: s3://us-east-1/logger-loki-poc
Blockquote
I have a valid token to access AWS. Thanks.