Skip to content

Ready to use fluentd-influxdb-grafana with docker-compose

Notifications You must be signed in to change notification settings

patrickb02/fluentd-influxdb-grafana

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fluentd-influxdb-grafana

Ready to use fluentd-influxdb-grafana using docker-compose

Installation

git clone https://github.com/Coac/fluentd-influxdb-grafana.git
cd fluentd-influxdb-grafana

Usage

docker-compose up

Fluentd

fluentd will look for json log in logs/logs.json and push them into influxdb.

Use the following command to push dummy data

for i in {1..100}; do echo \{\"time\":$(($(date +"%s")+$i)),\"foo\":\"foo\",\"bar\":$RANDOM\} >> logs/logs.json; done

InfluxDB

The InfluxDB exposes a shared volume for the data, it uses the folder ./data/ per default.

Grafana

You can browse grafana using http://localhost:3000/

  • Username: admin
  • Password: admin

Select the influxdb datasource and use the following configuration:

About

Ready to use fluentd-influxdb-grafana with docker-compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%