Skip to content

javier/influx-http-telegraf-questdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Influx to QuestDB via Telegraf

  1. Make sure you have a questdb instance running and accepting connections on 9009 (or change the telegraf config file accordingly). You can start questdb via docker with
   docker run -p 9000:9000 -p 9009:9009 -p 8812:8812 -p 9003:9003 questdb/questdb:latest
  1. Start telegraf with the provided config file
  telegraf --config telegraf_influx_to_questdb.conf
  1. (See Python folder if you prefer Python). Run this JAVA example. It should write one row using a data point, one using the ILP protocol, and one via a POJO. Demo data will be written into a new temperature table in your questdb server. You can run it via
mvn compile exec:java -Dexec.mainClass=example.InfluxDB2Example
  1. After a few moments you should see your data into questdb. Connect to your questdb instance (defaults to http://localhost:9000) and run this query SELECT * from temperature. Three rows should appear, one for each method we are using at the JAVA class.
image

About

Ingest data from influx http into questdb via telegraf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published