View in #telegraf on Slack
@Pratik_Das_Baghel: Hi. I am using following telegraf configuration:
[[processors.regex]]
order = 1
[[processors.regex.field_rename]]
pattern = "^(.*)_(.*?)_(\\w)"
replacement = "${2}"
result_key = "overwrite"
But i am getting following error:
Error running agent: Error loading config file telegraf.conf: plugin processors.regex: line 183: configuration specified the fields ["field_rename"], but they weren't used
What i am doing wrong here?