influxdata / influxdata/influxdb
InfluxDB 2: Telegraf config: Missing logtarget parameter.
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
The default generated Telegraf config doesn't contain the _logtarget_ parameter.
Although this is not critical, as the default value is _file_ and then the configuration is determined by the _logfile_ option, which is presented in the config file, it's doesn't provide a user with the complete set of available options.
Version: 2.0.0 (acd09bf)
Contributor guide
Research direction
Start by locating the code that generates the default Telegraf configuration for InfluxDB 2 and inspect how the logfile option is emitted. Add the missing logtarget entry using the existing default value, then verify that a generated default config exposes the parameter alongside the other logging options.
Written by the indexing model from the issue text.
Assessment
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100