2013-12-11 22:19:02 +00:00
|
|
|
# Welcome to the InfluxDB configuration file.
|
2013-12-11 18:10:37 +00:00
|
|
|
|
2014-03-07 17:51:16 +00:00
|
|
|
# If hostname (on the OS) doesn't return a name that can be resolved by the other
|
|
|
|
# systems in the cluster, you'll have to set the hostname to an IP or something
|
2014-03-16 12:58:28 +00:00
|
|
|
# that can be resolved here.
|
2013-12-13 15:23:57 +00:00
|
|
|
# hostname = ""
|
2014-01-22 18:35:42 +00:00
|
|
|
bind-address = "0.0.0.0"
|
|
|
|
|
2014-05-29 22:22:21 +00:00
|
|
|
# Once every 24 hours InfluxDB will report anonymous data to m.influxdb.com
|
2015-02-12 19:23:10 +00:00
|
|
|
# The data includes raft id (random 8 bytes), os, arch and version
|
2014-05-29 22:22:21 +00:00
|
|
|
# We don't track ip addresses of servers reporting. This is only used
|
2015-02-12 19:23:10 +00:00
|
|
|
# to track the number of instances running and the versions, which
|
2014-05-29 22:22:21 +00:00
|
|
|
# is very helpful for us.
|
|
|
|
# Change this option to true to disable reporting.
|
|
|
|
reporting-disabled = false
|
|
|
|
|
2015-01-27 01:29:30 +00:00
|
|
|
# Controls settings for initial start-up. Once a node a successfully started,
|
2015-01-30 00:36:27 +00:00
|
|
|
# these settings are ignored.
|
2015-01-27 01:29:30 +00:00
|
|
|
[initialization]
|
2015-02-05 22:38:00 +00:00
|
|
|
join-urls = "" # Comma-delimited URLs, in the form http://host:port, for joining another cluster.
|
2015-01-27 01:29:30 +00:00
|
|
|
|
2015-01-02 21:41:02 +00:00
|
|
|
# Control authentication
|
|
|
|
# If not set authetication is DISABLED. Be sure to explicitly set this flag to
|
2015-02-11 17:21:57 +00:00
|
|
|
# true if you want authentication.
|
2015-01-02 21:41:02 +00:00
|
|
|
[authentication]
|
|
|
|
enabled = false
|
|
|
|
|
2013-12-11 18:10:37 +00:00
|
|
|
# Configure the admin server
|
|
|
|
[admin]
|
2015-02-12 00:10:18 +00:00
|
|
|
enabled = true
|
|
|
|
port = 8083
|
2013-12-11 18:10:37 +00:00
|
|
|
|
2015-01-30 00:36:27 +00:00
|
|
|
# Configure the HTTP API endpoint. All time-series data and queries uses this endpoint.
|
2013-12-11 18:10:37 +00:00
|
|
|
[api]
|
2015-02-11 07:34:17 +00:00
|
|
|
# ssl-port = 8087 # SSL support is enabled if you set a port and cert
|
2015-01-09 02:46:12 +00:00
|
|
|
# ssl-cert = "/path/to/cert.pem"
|
2013-12-11 18:10:37 +00:00
|
|
|
|
2015-01-30 00:36:27 +00:00
|
|
|
# Configure the Graphite plugins.
|
|
|
|
[[graphite]] # 1 or more of these sections may be present.
|
|
|
|
enabled = false
|
|
|
|
# protocol = "" # Set to "tcp" or "udp"
|
|
|
|
# address = "0.0.0.0" # If not set, is actually set to bind-address.
|
|
|
|
# port = 2003
|
2015-02-03 00:05:41 +00:00
|
|
|
# name-position = "last"
|
|
|
|
# name-separator = "-"
|
2015-01-30 00:36:27 +00:00
|
|
|
# database = "" # store graphite data in this database
|
2014-03-24 15:33:28 +00:00
|
|
|
|
2015-01-30 00:36:27 +00:00
|
|
|
# Configure the collectd input.
|
|
|
|
[collectd]
|
|
|
|
enabled = false
|
|
|
|
#address = "0.0.0.0" # If not set, is actually set to bind-address.
|
|
|
|
#port = 25827
|
|
|
|
#database = "collectd_database"
|
|
|
|
#typesdb = "types.db"
|
2014-09-30 21:20:09 +00:00
|
|
|
|
2015-03-04 21:37:04 +00:00
|
|
|
# Configure UDP listener for series data.
|
|
|
|
[udp]
|
|
|
|
enabled = false
|
|
|
|
#bind-address = "0.0.0.0"
|
|
|
|
#port = 4444
|
2014-05-29 02:34:01 +00:00
|
|
|
|
2015-01-30 00:36:27 +00:00
|
|
|
# Broker configuration. Brokers are nodes which participate in distributed
|
|
|
|
# consensus.
|
2015-01-29 23:32:15 +00:00
|
|
|
[broker]
|
2015-01-30 00:36:27 +00:00
|
|
|
# Where the Raft logs are stored. The user running InfluxDB will need read/write access.
|
2013-12-11 19:20:02 +00:00
|
|
|
dir = "/tmp/influxdb/development/raft"
|
2015-02-02 18:54:27 +00:00
|
|
|
port = 8086
|
2013-12-11 18:10:37 +00:00
|
|
|
|
2015-01-30 00:36:27 +00:00
|
|
|
# Data node configuration. Data nodes are where the time-series data, in the form of
|
|
|
|
# shards, is stored.
|
2015-01-29 23:32:15 +00:00
|
|
|
[data]
|
2015-02-10 21:04:48 +00:00
|
|
|
dir = "/tmp/influxdb/development/db"
|
|
|
|
port = 8086
|
|
|
|
|
2015-03-09 22:46:30 +00:00
|
|
|
# Auto-create a retention policy when a database is created. Defaults to true.
|
|
|
|
retention-auto-create = true
|
|
|
|
|
2015-02-10 21:04:48 +00:00
|
|
|
# Control whether retention policies are enforced and how long the system waits between
|
|
|
|
# enforcing those policies.
|
|
|
|
retention-check-enabled = true
|
|
|
|
retention-check-period = "10m"
|
2014-07-10 20:00:10 +00:00
|
|
|
|
2013-12-11 22:19:02 +00:00
|
|
|
[cluster]
|
2014-12-06 01:02:30 +00:00
|
|
|
# Location for cluster state storage. For storing state persistently across restarts.
|
|
|
|
dir = "/tmp/influxdb/development/state"
|
|
|
|
|
2015-01-30 00:36:27 +00:00
|
|
|
[logging]
|
2015-03-06 00:20:57 +00:00
|
|
|
write-tracing = false # If true, enables detailed logging of the write system.
|
2015-03-06 19:31:13 +00:00
|
|
|
raft-tracing = false # If true, enables detailed logging of Raft consensus.
|
2015-03-12 23:23:33 +00:00
|
|
|
|
|
|
|
# InfluxDB can store statistics about itself. This is useful for monitoring purposes.
|
|
|
|
# This feature is disabled by default, but if enabled, these statistics can be queried
|
|
|
|
# as any other data.
|
|
|
|
[statistics]
|
|
|
|
enabled = false
|
2015-03-18 20:22:04 +00:00
|
|
|
database = "internal" # The database to which the data is written.
|
2015-03-13 21:36:19 +00:00
|
|
|
retention-policy = "default" # The retention policy within the database.
|
2015-03-13 21:39:47 +00:00
|
|
|
write-interval = "1m" # Period between writing the data.
|