Skip to content

Commit 5c48c61

Browse files
authored
conf: parser: add istio-envoy-proxy parser (fluent#5739)
Signed-off-by: ANGkeith <[email protected]>
1 parent a74afc9 commit 5c48c61

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

conf/parsers.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,15 @@
102102
Time_Keep On
103103
Time_Key start_time
104104

105+
[PARSER]
106+
# https://rubular.com/r/17KGEdDClwiuDG
107+
Name istio-envoy-proxy
108+
Format regex
109+
Regex ^\[(?<start_time>[^\]]*)\] "(?<method>\S+)(?: +(?<path>[^\"]*?)(?: +\S*)?)? (?<protocol>\S+)" (?<response_code>[^ ]*) (?<response_flags>[^ ]*) (?<response_code_details>[^ ]*) (?<connection_termination_details>[^ ]*) (?<upstream_transport_failure_reason>[^ ]*) (?<bytes_received>[^ ]*) (?<bytes_sent>[^ ]*) (?<duration>[^ ]*) (?<x_envoy_upstream_service_time>[^ ]*) "(?<x_forwarded_for>[^ ]*)" "(?<user_agent>[^\"]*)" "(?<x_request_id>[^\"]*)" (?<authority>[^ ]*)" "(?<upstream_host>[^ ]*)" (?<upstream_cluster>[^ ]*) (?<upstream_local_address>[^ ]*) (?<downstream_local_address>[^ ]*) (?<downstream_remote_address>[^ ]*) (?<requested_server_name>[^ ]*) (?<route_name>[^ ]*)
110+
Time_Format %Y-%m-%dT%H:%M:%S.%L%z
111+
Time_Keep On
112+
Time_Key start_time
113+
105114
[PARSER]
106115
# http://rubular.com/r/tjUt3Awgg4
107116
Name cri

0 commit comments

Comments
 (0)