I’m trying to configure a cassandra endpoint to storage_config block.
Below is my schemaConfig
schemaConfig: configs: - from: 2020-09-07 index: period: 24h prefix: loki_index_ object_store: cassandra schema: v11 store: cassandra
Below is my storage_config
storageConfig: cassandra: endpoint: https://api-test.domain.com/v1/apps/app/tables/blobTest/blobs/ client_cert: | client_key: | keyspace: loki table: logs batch_size: 1000 batch_timeout: 1s max_retries: 3
I’ll have my client cert and key contents in respective keys. And endpoint is custom endpoint. Usually i’ll connect to that endpoint using certs only. There’s no username and passwords.
I’ve gone through above link but couldn’t find config for using endpoint. I’ve got above config from internet and chatgpt.
Below are the errors i have in my logs
failed parsing config: /etc/loki/config/config.yaml: yaml: unmarshal errors: line 75: field batch_size not found in type cassandra.Config line 76: field batch_timeout not found in type cassandra.Config line 77: field client_cert not found in type cassandra.Config line 142: field client_key not found in type cassandra.Config line 173: field endpoint not found in type cassandra.Config line 176: field table not found in type cassandra.Config
Is there anything i’m missing or this cassandra block doesn’t support endpoints ? FYI i’m using loki 2.7.3 version