Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
INFLUXD-CONFIG(1)					       INFLUXD-CONFIG(1)

NAME
     influxd-config - Generate configuration files for InfluxDB

SYNOPSIS
     influxd config (-config <path>)
     influxd config -config /dev/null

DESCRIPTION
     influxd config will generate a configuration file for InfluxDB. The config-
     uration file will be output to standard output and can be written to a file
     by redirecting the shell output to another file.

     When  a configuration file is specified using -config <path>, this configu-
     ration file will be read and will overwrite the default values for any val-
     ues that are present. It can be used to provide  a  configuration	fragment
     with  only  the options you want to customize and generate a new configura-
     tion file from that file. If -config <path> is not specified,  the  command
     will  look  for  a  default configuration file using the same method as in-
     fluxd-run(1).

     When using this command to regenerate a configuration  file  in  place,  be
     sure to use a temporary file as the output. This command will not work:

     === # DO NOT USE! $ influxd config -config influxdb.conf > influxdb.conf

     # PROPER METHOD! $ influxd config -config influxdb.conf > influxdb.conf.tmp
     && \ mv influxdb.conf.tmp influxdb.conf ===

     The  shell  will  truncate the configuration file before influxd config can
     read it and you will lose all of your custom options. For safety,	redirect
     output to a temporary file instead and use mv to move the file afterwards.

     The  second command version will force influxd config to output the default
     configuration file. Setting the configuration file to /dev/null will  cause
     the  command  to output only the defaults and will not read any values from
     any existing configuration files.

OPTIONS
     -config <path>
	 Customize the default configuration file to  load.  Disables  automatic
	 loading when the path is /dev/null.

BUGS
     Report  bugs  to the GitHub issue tracker https://github.com/influxdata/in-
     fluxdb.

AUTHORS
     InfluxDB is written and maintained by InfluxData https://influxdata.com.

COPYRIGHT
     InfluxDB is released under the MIT license.

     This man page is released under Creative Commons Attribution  4.0	Interna-
     tional License.

				   08/27/2026		       INFLUXD-CONFIG(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=influxd-config&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help