Hi,
I
I am using the CPU Plugin and want to set a custom name for the field “cpu_usage_idle”.
Any idea is welcome!
Thanks
Marcel
Hi,
I
I am using the CPU Plugin and want to set a custom name for the field “cpu_usage_idle”.
Any idea is welcome!
Thanks
Marcel
In the next release, 1.8, you can use the rename processor. You can test it out using the nightly builds but the full release is about a month away.
Thanks for your reply.
Question: Is there a way to reference fields from a specific measurement for renaming like e.g. “cpu.usage_idle” -> “cpu.idle”?
You can use the measurement filtering options to control what passes through the processor, anything that doesn’t match skips to the next stage:
[[processors.rename]]
namepass = "cpu"
[[processors.rename.field]]
from = "usage_idle"
to = "idle"