Skip to content

Commit 7297fcc

Browse files
committed
Create loki labels for 'host' and 'appname'
Right now all dataplane logs end up in the same loki log stream. This patch will improve query and correlation performance under many common scenarios. I'll do a quick demo about this tomorrow. This is just CI, though, I think the real fix is is in our docs for the moment[1] - replace the link to the generic "Syslog receiver configuration example"[2] with this content, basically. [1] https://docs.redhat.com/en/documentation/red_hat_openstack_services_on_openshift/18.0/html/configuring_observability/assembly_enabling-rhoso-observability-logging_observability [2] https://github.com/openshift/cluster-logging-operator/blob/master/docs/reference/samples/observability.inputs-receivers.yaml
1 parent f0e5641 commit 7297fcc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ci/deploy-logging-dependencies/files/cluster_log_forwarder.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ spec:
1919
authentication:
2020
token:
2121
from: serviceAccount
22+
labelKeys:
23+
infrastructure:
24+
labelKeys:
25+
- host
26+
- appname
2227
target:
2328
name: logging-loki
2429
namespace: openshift-logging

0 commit comments

Comments
 (0)