Skip to content

Commit 226bb5f

Browse files
add regex for alb-log
1 parent f217b3d commit 226bb5f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

resources/formats.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,16 @@
147147
"classification_reason",
148148
"track_id"
149149
]
150+
},
151+
{
152+
"pattern": "^(?<timestamp>\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{6}Z) (?<client_ip>[\\d\\.]+) (?<client_port>\\d+) (?<target_port>\\d+) (- ){7}(?<track_id>TID_[a-f0-9]+)$",
153+
"fields": [
154+
"timestamp",
155+
"client_ip",
156+
"client_port",
157+
"target_port",
158+
"track_id"
159+
]
150160
}
151161
]
152162
},

0 commit comments

Comments
 (0)