Documentation

Configure Chronograf

Configure Chronograf by passing command line options when starting the Chronograf service. Or set custom default configuration options in the filesystem so they don’t have to be passed in when starting Chronograf.

Start the Chronograf service

Use one of the following commands to start Chronograf:

  • If you installed Chronograf using an official Debian or RPM package and are running a distro with systemd. For example, Ubuntu 15 or later.

    systemctl start chronograf
    
    • Copy
    • Fill window
  • If you installed Chronograf using an official Debian or RPM package:

    service chronograf start
    
    • Copy
    • Fill window
  • If you built Chronograf from source:

    $GOPATH/bin/chronograf
    
    • Copy
    • Fill window

Set custom default Chronograf configuration options

Custom default Chronograf configuration settings can be defined in /etc/default/chronograf. This file consists of key-value pairs. See keys (environment variables) for Chronograf configuration options, and set values for the keys you want to configure.

HOST=0.0.0.0
PORT=8888
TLS_CERTIFICATE=/path/to/cert.pem
TOKEN_SECRET=MySup3rS3cretT0k3n
LOG_LEVEL=info
  • Copy
  • Fill window

Note: /etc/default/chronograf is only created when installing the .deb or .rpm` package.

Set up security, organizations, and users

To set up security for Chronograf, configure:

After you configure OAuth 2.0 authentication, you can set up multiple organizations, roles, and users. For details, check out the following topics:


Was this page helpful?

Thank you for your feedback!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more

InfluxDB 3 Core and Enterprise are now in Beta

InfluxDB 3 Core and Enterprise are now available for beta testing, available under MIT or Apache 2 license.

InfluxDB 3 Core is a high-speed, recent-data engine that collects and processes data in real-time, while persisting it to local disk or object storage. InfluxDB 3 Enterprise is a commercial product that builds on Core’s foundation, adding high availability, read replicas, enhanced security, and data compaction for faster queries. A free tier of InfluxDB 3 Enterprise will also be available for at-home, non-commercial use for hobbyists to get the full historical time series database set of capabilities.

For more information, check out: