We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aebadb4 commit d7e8750Copy full SHA for d7e8750
1 file changed
ansible/roles/alloy/templates/config.alloy.j2
@@ -4,9 +4,35 @@ logging {
4
level = "info"
5
}
6
7
+livedebugging {
8
+ enabled = true
9
+}
10
+
11
loki.source.journal "system_journal" {
12
format_as_json = true
13
+ forward_to = [loki.process.journal_labels.receiver]
14
15
16
+loki.process "journal_labels" {
17
forward_to = [loki.write.pydis_gateway.receiver]
18
19
+ stage.json {
20
+ expressions = {
21
+ unit = "_SYSTEMD_UNIT",
22
+ }
23
24
25
+ stage.labels {
26
+ values = {
27
+ unit = "unit",
28
29
30
31
+ stage.static_labels {
32
33
+ job = "system_journal",
34
35
36
37
38
{% for extra in alloy_extra_files %}
0 commit comments