From the course: Explore Time Series Data: Ingest and Collect with Telegraf and InfluxDB
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Telegraf settings and configuration - InfluxDB Tutorial
From the course: Explore Time Series Data: Ingest and Collect with Telegraf and InfluxDB
Telegraf settings and configuration
- [Instructor] Telegraf requires some configuration to run and the configuration controls how your Telegraf agent will operate. It's important to understand what's included in this configuration file and what you need to do to get Telegraf to work like you want. Let's first generate our Telegraf configuration. I already have Telegraf downloaded, so I'm going to go directly to my terminal in VS Code. If I were to generate a default Telegraf configuration with all plugins, I'd run the following command: telegraf --config, and the file name that I would designate default, telegraf.conf. However, I'm going to generate a Telegraf configuration with specific plugins that we'll be using throughout this course. With this command, it'll include just the plugins I want. I'll do "telegraf --sample config" and I'll include the input plugins for HTTP, the processors for star lark and converter. I'll include the minmax…