We want to use the inputs.internal plugin, but we would like to do a couple things:
- possibly drop some fields, or some inputs fully
- override / merge all or some measurements and their fields into one measurement with a new name
- override field names within an input
For example, the write output (internal_write) has “metrics_written” and the agent has “metrics_written” - how can we distinguish these two?
daniel
2
- possibly drop some fields, or some inputs fully
This can be done using the various measurement filtering options.
- override / merge all or some measurements and their fields into one measurement with a new name
You can use name_override on the input or the override processor.
- override field names within an input
There isn’t a way to change field names currently.
how can we distinguish these two?
The best way to deal with this using tags and the measurement name.