Skip to content
Discussion options

You must be logged in to vote

@pront Thanks for responding. I already able to fix this. But strange thing is no where defined in vector documents about labels exposure for loki sink. Found in grafana labs community
Below should be the way in exposing labels in loki sink
sinks:
loki_sink:
type: loki
inputs:
- extract_transform
endpoint: http://loki-nob-gateway
encoding:
codec: json
labels:
topic: "{{{{topic}}}}"
region: "{{{{region}}}}"
job: "{{{{job}}}}"

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@pront
Comment options

@surekha3
Comment options

Answer selected by pront
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
sink: loki Anything `loki` sink related
2 participants