docs(config): Clarify metric-routing example (#15033)
This commit is contained in:
parent
63c00fde3c
commit
e6a61f93b6
|
|
@ -840,7 +840,7 @@ tags and the agent `host` tag.
|
||||||
#### Routing metrics to different outputs based on the input
|
#### Routing metrics to different outputs based on the input
|
||||||
|
|
||||||
Metrics are tagged with `influxdb_database` in the input, which is then used to
|
Metrics are tagged with `influxdb_database` in the input, which is then used to
|
||||||
select the output. The tag is removed in the outputs before writing.
|
select the output. The tag is removed in the outputs before writing with `tagexclude`.
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[[outputs.influxdb]]
|
[[outputs.influxdb]]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue