We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'd like to set 2 different telegraf outputs, one tagged, one default.
When using hiera
telegraf::outputs: influxdb: - urls: - "http://sys.home.local:8086" database: 'telegraf' skip_database_creation: false
The title is also the output type. I didn't see an easy way to change that, I'd expect
telegraf::outputs: influxdb: - urls: - "http://sys.home.local:8086" database: 'telegraf' skip_database_creation: false influxdb_other: plugin_type: 'influxdb' - urls: - "http://sys.home.local:8086" database: 'data' skip_database_creation: false
would work, but it doesn't (bad yaml). Do you have an example using hiera with 2 different outputs?
The text was updated successfully, but these errors were encountered:
Turns out the answer i needed looks like this:
telegraf::outputs: influxdb: - urls: - "http://sys.home.local:8086" database: 'telegraf' skip_database_creation: false tagdrop: influxdb_database: - '*' - urls: - "http://sys.home.local:8086" database: 'syslog' skip_database_creation: false tagpass: influxdb_database: - 'syslog'
Sorry, something went wrong.
No branches or pull requests
I'd like to set 2 different telegraf outputs, one tagged, one default.
When using hiera
The title is also the output type. I didn't see an easy way to change that, I'd expect
would work, but it doesn't (bad yaml). Do you have an example using hiera with 2 different outputs?
The text was updated successfully, but these errors were encountered: