revert Remove commas
This commit is contained in:
Luke Tainton 2025-01-06 19:34:53 +01:00
parent ca6b4e81b9
commit b3138c9224

View File

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