From d65296c92a04609b981b0aa2ecf10375fa313abe Mon Sep 17 00:00:00 2001 From: Lance Walters Date: Fri, 27 Nov 2026 00:52:02 -0500 Subject: [PATCH] fix(logging): sourceIPs[0] in the audit JMESPath (Alloy stage.json uses JMESPath, not GJSON) --- infrastructure/logging/alloy/config.alloy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/logging/alloy/config.alloy b/infrastructure/logging/alloy/config.alloy index 8cc99af..b6a2216 100644 --- a/infrastructure/logging/alloy/config.alloy +++ b/infrastructure/logging/alloy/config.alloy @@ -261,7 +261,7 @@ loki.process "audit" { name = "objectRef.name", subresource = "objectRef.subresource", responseCode = "responseStatus.code", - sourceIP = "sourceIPs.0", + sourceIP = "sourceIPs[0]", userAgent = "userAgent", auditID = "auditID", requestURI = "requestURI", -- 2.52.0