Skip to content

Commit 5cad353

Browse files
authored
chore(vrl): Fix example for linux auth log (#22110)
The logs don't include the year. Signed-off-by: Jesse Szwedko <[email protected]>
1 parent 2ed4cd9 commit 5cad353

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/cue/reference/remap/functions/parse_linux_authorization.cue

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ remap: functions: parse_linux_authorization: {
3131
title: "Parse Linux authorization event"
3232
source: """
3333
parse_linux_authorization!(
34-
s'Mar 23 2023 01:49:58 localhost sshd[1111]: Accepted publickey for eng from 10.1.1.1 port 8888 ssh2: RSA SHA256:foobar'
34+
s'Mar 23 01:49:58 localhost sshd[1111]: Accepted publickey for eng from 10.1.1.1 port 8888 ssh2: RSA SHA256:foobar'
3535
)
3636
"""
3737
return: {
3838
appname: "sshd"
3939
hostname: "localhost"
4040
message: "Accepted publickey for eng from 10.1.1.1 port 8888 ssh2: RSA SHA256:foobar"
4141
procid: 1111
42-
timestamp: "2023-03-23T01:49:58Z"
42+
timestamp: "2025-03-23T01:49:58Z"
4343
}
4444
},
4545
]

0 commit comments

Comments
 (0)