Feature/parser envoy k8s#1622
Merged
LaurenceJJones merged 13 commits intocrowdsecurity:masterfrom Jan 13, 2026
Merged
Conversation
LaurenceJJones
approved these changes
Jan 12, 2026
Contributor
LaurenceJJones
left a comment
There was a problem hiding this comment.
lgtm @Yanis-Kouidri waiting for your 👍🏻 on my changes
68ba374 to
20c7883
Compare
Yanis-Kouidri
commented
Jan 13, 2026
Contributor
Author
Yanis-Kouidri
left a comment
There was a problem hiding this comment.
Good for me
harryjph
reviewed
Jan 22, 2026
| - parsed: raw_remote_addr | ||
| expression: evt.Unmarshaled.envoy.downstream_remote_address | ||
| - parsed: remote_addr | ||
| expression: "evt.Unmarshaled.envoy.downstream_remote_address != nil ? Split(evt.Unmarshaled.envoy.downstream_remote_address, ':')[0] : nil" |
There was a problem hiding this comment.
Hey @Yanis-Kouidri, thank you for your work on this! I'm deploying it in a dual-stack cluster and I think that this is causing it to fail to parse IPv6 addresses, since it only returns the first hext:
failed to parse source_ip [2001: ParseAddr(\"[2001\"): unable to parse IP
Contributor
There was a problem hiding this comment.
Can you open an issue with an example ipv6 line so we can add some tests
Contributor
Author
There was a problem hiding this comment.
Hey @harryjph, well spotted, I didn't mind to IPv6 address, thanks for your contribution !
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
New Parser: Envoy JSON logs for Kubernetes (CRI).
This parser extracts HTTP metadata from Envoy Gateway logs and passes them to the next stage (http-logs).
Then it can be use for scenarios like the ones in
base-http-scenarioscollectionChecklist