influxdb/etc/config.sample.toml

91 lines
3.0 KiB
TOML
Raw Normal View History

# Welcome to the InfluxDB configuration file.
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
# that can be resolved here.
2013-12-13 15:23:57 +00:00
# hostname = ""
bind-address = "0.0.0.0"
# Once every 24 hours InfluxDB will report anonymous data to m.influxdb.com
# The data includes raft name (random 8 bytes), os, arch and version
# We don't track ip addresses of servers reporting. This is only used
# to track the number of instances running and the versions which
# is very helpful for us.
# Change this option to true to disable reporting.
reporting-disabled = false
# Controls settings for initial start-up. Once a node a successfully started,
2015-01-30 00:36:27 +00:00
# these settings are ignored.
[initialization]
2015-01-30 00:36:27 +00:00
join-urls = "" # Comma-delimited URLs for joining another cluster.
# Control authentication
# If not set authetication is DISABLED. Be sure to explicitly set this flag to
# true if you want authentication. If authentication is enabled, and no administrative
# user exists in the system, the system will allow one administrative user to be
# created without requiring any authentication.
[authentication]
enabled = false
# Configure the admin server
[admin]
port = 8083 # binding is disabled if the port isn't set
2015-01-30 00:36:27 +00:00
# Configure the HTTP API endpoint. All time-series data and queries uses this endpoint.
[api]
2015-01-09 02:46:40 +00:00
# ssl-port = 8084 # 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"
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
# database = "" # store graphite data in this database
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"
2015-01-30 00:36:27 +00:00
# Input plugin configuration.
[input_plugins]
# Configure the udp api
2014-04-28 09:41:52 +00:00
[input_plugins.udp]
enabled = false
# port = 4444
# database = ""
# Configure multiple udp apis each can write to separate db. Just
# repeat the following section to enable multiple udp apis on
# different ports.
[[input_plugins.udp_servers]] # array of tables
enabled = false
# port = 5551
# database = "db1"
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.
dir = "/tmp/influxdb/development/raft"
2015-02-02 18:54:27 +00:00
port = 8086
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]
dir = "/tmp/influxdb/development/db"
2015-02-02 18:54:27 +00:00
port = 8086
[cluster]
# 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]
file = "/var/log/influxdb/influxd.log" # Leave blank to redirect logs to stderr.