Skip to content

Commit 8112b40

Browse files
committed
Document how to drop strucutured metadata have label conversion
1 parent 169f275 commit 8112b40

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/sources/reference/components/loki/loki.process.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,11 @@ stage.labels {
613613
user = "username", // Sets up a 'user' label, based on the 'username' structured metadata value.
614614
}
615615
}
616+
617+
// Drop the converted structured metadata
618+
stage.structured_metadata_drop {
619+
values = [ "env", "username" ]
620+
}
616621
```
617622

618623
### `stage.limit`

0 commit comments

Comments
 (0)