Remove commas

This commit is contained in:
Luke Tainton 2025-01-06 19:33:40 +01:00
parent d8733939da
commit ca6b4e81b9

View File

@ -9,8 +9,8 @@ loki.process "logs_integrations_windows_exporter" {
stage.json { stage.json {
expressions = { expressions = {
level = "levelText", level = "levelText"
source = "source", source = "source"
} }
} }
@ -23,7 +23,7 @@ loki.process "logs_integrations_windows_exporter" {
stage.static_labels { stage.static_labels {
values { values {
service_name = "WindowsLogs", service_name = "WindowsLogs"
} }
} }
} }
@ -45,8 +45,8 @@ loki.source.windowsevent "logs_integrations_windows_exporter_application" {
use_incoming_timestamp = true use_incoming_timestamp = true
forward_to = [loki.relabel.logs_integrations_windows_exporter.receiver] forward_to = [loki.relabel.logs_integrations_windows_exporter.receiver]
labels = { labels = {
instance = constants.hostname, instance = constants.hostname
job = "integrations/windows_exporter", job = "integrations/windows_exporter"
} }
} }
@ -58,8 +58,8 @@ loki.source.windowsevent "logs_integrations_windows_exporter_system" {
use_incoming_timestamp = true use_incoming_timestamp = true
forward_to = [loki.relabel.logs_integrations_windows_exporter.receiver] forward_to = [loki.relabel.logs_integrations_windows_exporter.receiver]
labels = { labels = {
instance = constants.hostname, instance = constants.hostname
job = "integrations/windows_exporter", job = "integrations/windows_exporter"
} }
} }
@ -71,8 +71,8 @@ loki.source.windowsevent "logs_integrations_windows_exporter_defender" {
use_incoming_timestamp = true use_incoming_timestamp = true
forward_to = [loki.relabel.logs_integrations_windows_exporter.receiver] forward_to = [loki.relabel.logs_integrations_windows_exporter.receiver]
labels = { labels = {
instance = constants.hostname, instance = constants.hostname
job = "integrations/windows_exporter", job = "integrations/windows_exporter"
} }
} }
@ -84,7 +84,7 @@ loki.source.windowsevent "logs_integrations_windows_exporter_wifi" {
use_incoming_timestamp = true use_incoming_timestamp = true
forward_to = [loki.relabel.logs_integrations_windows_exporter.receiver] forward_to = [loki.relabel.logs_integrations_windows_exporter.receiver]
labels = { labels = {
instance = constants.hostname, instance = constants.hostname
job = "integrations/windows_exporter", job = "integrations/windows_exporter"
} }
} }