Hello, I want to save as many chunk data as possible in my local disk in order to improve the speed for query. However , it does not work.
This is the configuration file:
auth_enabled: false
server:
http_listen_port: 3103
http_listen_address: 0.0.0.0
grpc_listen_port: 9097
grpc_listen_address: 0.0.0.0
grpc_server_max_recv_msg_size: 10000000
grpc_server_max_send_msg_size: 10000000
grpc_server_max_concurrent_streams: 0
http_server_read_timeout: 5m
http_server_idle_timeout: 7m
distributor:
ring:
kvstore:
store: memberlist
ingester:
wal:
enabled: true
dir: /data/netflow-8-201/wal
lifecycler:
ring:
replication_factor: 1
kvstore:
store: memberlist
final_sleep: 0s
chunk_idle_period: 1h
max_chunk_age: 1h
chunk_retain_period: 1m
max_transfer_retries: 0
chunk_target_size: 4194304
chunk_encoding: snappy
memberlist:
join_members:
- localhost:7948
- localhost:7949
bind_port: 7948
bind_addr: ['0.0.0.0']
max_join_backoff: 1m
max_join_retries: 10
min_join_backoff: 1s
schema_config:
configs:
- from: 2022-09-26
store: boltdb-shipper
object_store: iharbor
schema: v11
index:
prefix: netflow_
period: 24h
storage_config:
boltdb_shipper:
active_index_directory: /data/netflow-8-201/loki/boltdb-shipper-active
cache_location: /data/netflow-8-201/loki/boltdb-shipper-cache
cache_ttl: 168h # Can be increased for faster performance over longer query periods, uses more disk space
shared_store: harbor
harbor:
bucket_name: netflow-8-201
endpoint: 111.1.1.1
token: 21867fccde9
insecure: true
index_queries_cache_config:
redis:
endpoint: localhost:6379
expiration: 1h
boltdb:
directory: /data/netflow-8-201/loki/boltdb
filesystem:
directory: /data/netflow-8-201/loki/filesystem
limits_config:
enforce_metric_name: false
reject_old_samples: true
reject_old_samples_max_age: 168h
ingestion_rate_mb: 128
ingestion_burst_size_mb: 256
max_entries_limit_per_query: 50000
split_queries_by_interval: 1m
max_query_parallelism: 100
chunk_store_config:
max_look_back_period: 0
chunk_cache_config:
redis:
endpoint: localhost:6379
expiration: 1h
write_dedupe_cache_config:
redis:
endpoint: localhost:6379
expiration: 1h
I think that it should be many files in /data/netflow-8-135/wal directory. However , it does not at all. There always only about several file left.
Can anyone help me to solve this problem? Thanks very much.
Best wishes.