geostat/settings.ini.back

49 lines
1.2 KiB
Text
Raw Normal View History

[NGINX_LOGS]
# Path for the log file (Nginx)
logpath = website1:/var/log/website1/access.log website2:/var/log/website2/access.log
2019-02-04 14:00:54 +01:00
[GEOIP]
# Path for the GEOIP DB file
geoipdb = ./GeoLite2-City.mmdb
2019-02-04 14:00:54 +01:00
[INFLUXDB_VERSION]
# Version of the InfluxDB, 1 = old 1.8 and early, 2 = new 2.0 and more
2022-07-21 20:01:21 +02:00
# Set this parameter to 1 if you prefer to use an old InfluxDB version like 1.8
# Or set this parameter to 2 if you plan to use InfluxDB version 2.1 or modern
version = 1
[INFLUXDB1]
# This part of the config will be used only when [INFLUXDB_VERSION] set to 1
# Database URL
host = INFLUXDB_SERVER_IP
port = 8086
#Database name
database = INFLUXDB_DATABASE_NAME
# HTTP Auth
username = INFLUXDB_USER_NAME
password = INFLUXDB_USER_PASSWORD
# Measurement name
2018-10-12 20:38:06 +02:00
measurement = geodata
[INFLUXDB2]
# This part of the config will be used only when [INFLUXDB_VERSION] set to 2
# InfluxDB server URL
url = INFLUXDB_SERVER_IP:PORT
# Token for authentication
token = ANY EXISTED USER TOKEN
2022-07-21 20:01:21 +02:00
# Organization - the name of the organization you wish to write to
organization = ORGANIZATION NAME
# Destination bucket to write into
bucket = SOME BUCKET name
# Measurement name
measurement = geodata