Content Deep Dive
How to Write Points from CSV to InfluxDB
Blog post from InfluxData
Post Details
Company
Date Published
Author
Anais Dotis-Georgiou
Word Count
1,331
Language
English
Hacker News Points
-
Summary
Telegraf is a server agent for collecting and reporting metrics, and its File Input Plugin can be used to write points from CSV files to InfluxDB. To use this plugin, you need Telegraf 1.8.0 or higher and InfluxDB 1.7.0 or higher installed on your system. You create a Telegraf config file with the appropriate input and output plugins, specifying the target database for your CSV data and configuring the parser to exclude unwanted rows and columns. After editing the config file, you run Telegraf with the new configuration and verify that the data is successfully ingested into InfluxDB. The process allows for efficient bulk imports of familiar data into InfluxDB, making it easier to get acquainted with the platform.