diff --git a/config.alloy b/config.alloy index 6789a76..19528fd 100644 --- a/config.alloy +++ b/config.alloy @@ -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", } } \ No newline at end of file