changed default retention to 7d
This commit is contained in:
parent
2d3531d1dd
commit
2f9d117a70
1 changed files with 3 additions and 3 deletions
|
@ -40,8 +40,8 @@ influxdb_port = env.get('INFLUX_HOST_PORT', '8086')
|
||||||
influxdb_database = env.get('INFLUX_DATABASE', 'geoip2influx')
|
influxdb_database = env.get('INFLUX_DATABASE', 'geoip2influx')
|
||||||
influxdb_user = env.get('INFLUX_USER', 'root')
|
influxdb_user = env.get('INFLUX_USER', 'root')
|
||||||
influxdb_user_pass = env.get('INFLUX_PASS', 'root')
|
influxdb_user_pass = env.get('INFLUX_PASS', 'root')
|
||||||
influxdb_retention = env.get('INFLUX_RETENTION','30d')
|
influxdb_retention = env.get('INFLUX_RETENTION','7d')
|
||||||
influxdb_shard = env.get('INFLUX_SHARD', '2d')
|
influxdb_shard = env.get('INFLUX_SHARD', '1d')
|
||||||
geo_measurement = env.get('GEO_MEASUREMENT', 'geoip2influx')
|
geo_measurement = env.get('GEO_MEASUREMENT', 'geoip2influx')
|
||||||
log_measurement = env.get('LOG_MEASUREMENT', 'nginx_access_logs')
|
log_measurement = env.get('LOG_MEASUREMENT', 'nginx_access_logs')
|
||||||
send_nginx_logs = env.get('SEND_NGINX_LOGS','true')
|
send_nginx_logs = env.get('SEND_NGINX_LOGS','true')
|
||||||
|
@ -311,4 +311,4 @@ if __name__ == '__main__':
|
||||||
try:
|
try:
|
||||||
main()
|
main()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
Loading…
Reference in a new issue