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

Support strings processor operating on tag/field keys #5928

Closed
danielarkins opened this issue May 30, 2019 · 3 comments · Fixed by #6129
Closed

Support strings processor operating on tag/field keys #5928

danielarkins opened this issue May 30, 2019 · 3 comments · Fixed by #6129
Labels
feature request Requests for new plugin and for new features to existing plugins
Milestone

Comments

@danielarkins
Copy link

I may simply not be understanding but i am collection win perf counters Avg._Disk_Bytes/Write
I want to replace the / with _ in the resultant field name in influxdb
i have the following config but it is still coming as Avg._Disk_Bytes/Write and not Avg._Disk_Bytes_Write

[[processors.strings.replace]]
field = ""
old = "/"
new = "_"

@danielarkins
Copy link
Author

i believe i found my (suspected this) answer here #5173

does anyone know of any enhancements that may achieve the above?

@danielnelson danielnelson changed the title processors.strings.replace not working? Support strings processor operating on tag/field keys May 30, 2019
@danielnelson danielnelson added the feature request Requests for new plugin and for new features to existing plugins label May 30, 2019
@danielnelson
Copy link
Contributor

The only method currently for doing this I'm aware of is the one listed in #5173.

@influxdata influxdata deleted a comment May 31, 2019
@DenKn
Copy link

DenKn commented Jul 5, 2019

I ran into the same problem.
#5173 is very uncomfortable, unfortunately.

I need substring replacement for tag and field keys.

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