tanya/config/config.json

75 lines
2.2 KiB
JSON

{
"fluentd": {
"url": "http://fluentd.k8s.xunlang.home"
},
"elasticsearch": {
"url": "http://elastic.k8s.xunlang.home",
"auth": {
"username": "fluentd_user",
"password": "fluentd_password"
},
"ilm": {
"data_types": {
"candle": {
"index_pattern": "logstash-%s.candle.*.%d-%02d",
"max_retention": {
"1m": 365,
"3m": 365,
"5m": 730,
"15m": 730,
"30m": 730,
"1h": 1095,
"2h": 1095,
"4h": 1825,
"6h": 1825,
"12h": 1825,
"1d": 2555,
"2d": 2555,
"5d": 2555,
"1W": 3650,
"1M": 3650,
"default": 365
},
"min_retention": 30,
"shards": 2,
"replicas": 1,
"normal_rollover": {
"max_size": "30GB",
"max_age": "14d",
"max_docs": "1000000"
},
"normal_phases": {
"warm": 60,
"cold": 180,
"delete": 365
}
},
"ma": {
"index_pattern": "logstash-%s.ma.*.%d-%02d",
"max_retention": {
"1d": 2555,
"default": 365
},
"min_retention": 30,
"shards": 2,
"replicas": 1,
"normal_rollover": {
"max_size": "50GB",
"max_age": "30d"
},
"normal_phases": {
"warm": 90,
"cold": 270
},
"time_parameters": {
"timestamp_format": "unix_millis",
"default_after": "now-7d",
"default_before": "now",
"max_range_days": 30
}
}
}
}
}
}