Skip to content
New issue

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

Add tagexclude functionality for the database_tag property in the InfluxDB Output Plugin #5933

Closed
amarbajric opened this issue May 31, 2019 · 0 comments · Fixed by #6184
Closed
Assignees
Labels
feature request Requests for new plugin and for new features to existing plugins
Milestone

Comments

@amarbajric
Copy link

Feature Request

The InfluxDB v1.x Output Plugin currently allows to add a database_tag configuration property that dynamically routes data into the specified database. The tag that is used for dynamically routing data into the correct database (i.e. database_tag) cannot be removed by telegraf (for example with tagexclude)

See the following comment of this PR for more information.

Proposal:

Implement/Add a functionality for excluding the tag specified in database_tag before telegraf writes data to influxdb as this tag is, most of the time, only needed for routing data to the correct database.

To avoid future feature requests, the same functionality would also be helpful for the InfluxDB v2.x Output Plugin and the bucket_tag configuration property.

Current behavior:

Data is dynamically routed based on the database_tag but cannot be excluded before data is written to influxdb.

Desired behavior:

The database_tag should be removable by using something like the already known functionality of tagexclude or an additional configuration parameter like exclude_database_tag=true|false etc.

Use case:

There are many use cases where dynamic routing based on the database_tag is desired without storing the specified tag of database_tag into the database (i.e. tag is only used for routing purposes and has no information value)

@amarbajric amarbajric changed the title Add tagexclude functionality for the database_tag property in the InfluxDB Output Plugin Add tagexclude functionality for the database_tag property in the InfluxDB Output Plugin May 31, 2019
@danielnelson danielnelson added the feature request Requests for new plugin and for new features to existing plugins label May 31, 2019
@danielnelson danielnelson added this to the 1.12.0 milestone Jul 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests for new plugin and for new features to existing plugins
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants