InfluxDB

From ArchWiki
Jump to: navigation, search

InfluxDB is a time series database built from the ground up to handle high write and query loads. It is the second piece of the TICK stack. InfluxDB is meant to be used as a backing store for any use case involving large amounts of timestamped data, including DevOps monitoring, application metrics, IoT sensor data, and real-time analytics.[1]

Installation

Install the influxdbAUR and enable and start the influxdb service.

Configuration

All configuration is done in /etc/influxdb/influxdb.conf. By default, it listens at https://localhost:8086 for data.

The configuration is well documented, but you can also have a look at their Documentation

Usage

The InfluxDB can be used as part of the TICK stack. In this setup, data is written into the database using Telegraf. Kapacitor and Chronograf then use the database to send alerts and display data respectively.

InfluxDB can also be used with other input plugins, e.g. collectd. Another tool for data visualization is Grafana.

Writing and querying the database can also be done using their HTTP API for writing and querying.

See also