Open saritatewari4 opened 1 year ago
https://grafana.com/docs/grafana/latest/datasources/loki/#provision-the-loki-data-source
datasources:
- name: Loki
type: loki
access: proxy
url: http://localhost:3100
basicAuth: true
basicAuthUser: my_user
jsonData:
maxLines: 1000
derivedFields:
# Field with internal link pointing to data source in Grafana.
# datasourceUid value can be anything, but it should be unique across all defined data source uids.
- datasourceUid: my_jaeger_uid
matcherRegex: "traceID=(\\w+)"
name: TraceID
# url will be interpreted as query for the datasource
url: '$${__value.raw}'
# optional for URL Label to set a custom display label for the link.
urlDisplayLabel: 'View Trace'
# Field with external link.
- matcherRegex: "traceID=(\\w+)"
name: TraceID
url: 'http://localhost:16686/trace/$${__value.raw}'
secureJsonData:
basicAuthPassword: test_password```
Hi,
I am trying to deploy loki stack on cdk using helm release.
I wanted to modify the config map of Loki to update the derived field. Above configuration is not working. I can't see modified derived fields, which I am passing from this CDK file. I am not getting any error msg also in eks.
Please help me on this.