max_transfer_retries: 0 schema_config: configs: - from: 2020-07-29 store: boltdb object_store: filesystem schema: v11 index: prefix: index_ period: 168h # 存储位置配置 storage_config: # 流文件存储地址 boltdb: # 自定义boltdb目录 directory: /data/software/loki/data/index # 索引存储地址 ...
storage_config: #索引缓存有效时间 index_cache_validity:<duration>| default = 5m index_queries_cache_config:<cache_config> 1. 2. 3. 4. 注意!index_cache_validity的时间要小于ingester_config.chunk_idle_period配置的时间。大意是日志的入到Loki后,缓存的日志索引在原始日志flush进存储前都为有效的,以...
storage_config: #索引缓存有效时间 index_cache_validity: <duration> | default = 5m index_queries_cache_config: <cache_config> 注意!index_cache_validity的时间要小于ingester_config.chunk_idle_period配置的时间。 大意是日志的入到Loki后,缓存的日志索引在原始日志flush进存储前都为有效的,以保证查询的缓存...
storage_config: # 存储的配置,定义其他组件可能用到的存储 aws: # s3 / s3 兼容的对象存储 endpoint: minio.logging.svc.cluster.local:9000 insecure: true bucketnames: loki-data access_key_id: myaccessKey secret_access_key: mysecretKey s3forcepathstyle: true boltdb_shipper: shared_store: s3 schem...
storage_config:tsdb_shipper:active_index_directory:/loki/indexcache_location:/loki/index_cachecache_ttl:24h# Can be increased for faster performance over longer query periods, uses more disk spaceaws:s3:s3://<access_key>:<uri-encoded-secret-access-key>@<region>bucketnames:<bucket1,bucket2>sch...
storage_config: boltdb_shipper: active_index_directory: /loki/boltdb-index # index 目录 cache_location: /loki/boltdb-cache # cache 目录 filesystem: directory: /loki/chunks # chunks 目录 limits_config: retention_period: 240h # 多久过期
storage_config: boltdb: directory: /tmp/loki/index filesystem: directory: /tmp/loki/chunks limits_config: enforce_metric_name:false reject_old_samples:true reject_old_samples_max_age: 168h chunk_store_config: max_look_back_period: 0s ...
storage_config: # 存储相关 boltdb_shipper: active_index_directory: /loki/boltdb-shipper-active # 活动索引的目录 cache_location: /loki/boltdb-shipper-cache # 缓存位置 cache_ttl: 24h # 缓存的过期时间 shared_store: filesystem # 共享存储类型为文件系统 ...
storage_config: boltdb: directory: /data/loki/index #索引文件存储地址 filesystem: directory: /data/loki/chunks #块存储地址 limits_config: enforce_metric_name: false reject_old_samples: true reject_old_samples_max_age: 168h chunk_store_config: ...
storage_config:boltdb_shipper:active_index_directory: /opt/app/loki/boltdb-shipper-activecache_location: /opt/app/loki/boltdb-shipper-cachecache_ttl: 24h # Can be increased for faster performance over longer query periods, uses more disk spaceshared_store: filesystemfilesystem:directory: /opt/app...