2022-07-18 12:30:09 +02:00
|
|
|
[NGINX_LOGS]
|
2022-07-20 22:09:55 +02:00
|
|
|
# Path for the log file (Nginx)
|
2022-07-18 12:30:09 +02:00
|
|
|
logpath = website1:/var/log/website1/access.log website2:/var/log/website2/access.log
|
2018-10-09 20:29:24 +02:00
|
|
|
|
2019-02-04 14:00:54 +01:00
|
|
|
[GEOIP]
|
2022-07-20 22:09:55 +02:00
|
|
|
# Path for the GEOIP DB file
|
2019-02-12 10:17:15 +01:00
|
|
|
geoipdb = ./GeoLite2-City.mmdb
|
2019-02-04 14:00:54 +01:00
|
|
|
|
2022-07-20 22:09:55 +02: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
|
2022-07-20 22:09:55 +02:00
|
|
|
# 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
|
|
|
|
|
2018-10-09 20:29:24 +02:00
|
|
|
# Database URL
|
2021-01-25 08:15:23 +01:00
|
|
|
host = INFLUXDB_SERVER_IP
|
2018-10-09 20:29:24 +02:00
|
|
|
port = 8086
|
|
|
|
|
|
|
|
#Database name
|
2021-01-25 08:15:23 +01:00
|
|
|
database = INFLUXDB_DATABASE_NAME
|
2018-10-09 20:29:24 +02:00
|
|
|
|
|
|
|
# HTTP Auth
|
2021-01-25 08:15:23 +01:00
|
|
|
username = INFLUXDB_USER_NAME
|
|
|
|
password = INFLUXDB_USER_PASSWORD
|
2018-10-09 20:29:24 +02:00
|
|
|
|
|
|
|
# Measurement name
|
2018-10-12 20:38:06 +02:00
|
|
|
measurement = geodata
|
2022-07-20 22:09:55 +02:00
|
|
|
|
|
|
|
[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
|
2022-07-20 22:09:55 +02:00
|
|
|
organization = ORGANIZATION NAME
|
|
|
|
|
|
|
|
# Destination bucket to write into
|
|
|
|
bucket = SOME BUCKET name
|
|
|
|
|
|
|
|
# Measurement name
|
|
|
|
measurement = geodata
|