Skip to content
Snippets Groups Projects
Commit 6c04c913 authored by Corné Lukken's avatar Corné Lukken
Browse files

Merge branch 'L2SS-1715-push-loki-logs-to-central' into 'master'

L2SS-1715: Configure vector to push logs to loki central

Closes L2SS-1715

See merge request !859
parents 084dfbe4 4567ce91
Branches
Tags
1 merge request!859L2SS-1715: Configure vector to push logs to loki central
......@@ -121,6 +121,20 @@ healthchecks.require_healthy = true
[sinks.loki.labels]
"nomad_*" = '{{ nomad }}'
[[ if ne .station "dev" ]]
[sinks.loki_central]
type = "loki"
inputs = [ "nomad-flags" ]
tenant_id = [[.station]]
endpoint = "http://logs.lofar-central.service.consul:3100"
encoding.codec = "json"
healthcheck.enabled = true
remove_label_fields = true
out_of_order_action = "accept"
[sinks.loki_central.labels]
"nomad_*" = '{{ nomad }}'
[[ end ]]
[sources.host_metrics]
type = "host_metrics"
scrape_interval_secs = 10
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment