mask last 16 bits not just last 8 bits

This commit is contained in:
Arya 2024-04-11 12:32:40 +05:30
parent 202c5f41b4
commit c602038ab1
Signed by: arya
GPG Key ID: 842D12BDA50DF120

View File

@ -7,15 +7,15 @@ log {
wrap json wrap json
fields { fields {
request>remote_ip ip_mask { request>remote_ip ip_mask {
ipv4 24 ipv4 16
ipv6 64 ipv6 64
} }
request>headers>X-Forwarded-For ip_mask { request>headers>X-Forwarded-For ip_mask {
ipv4 24 ipv4 16
ipv6 64 ipv6 64
} }
request>headers>client_ip ip_mask { request>headers>client_ip ip_mask {
ipv4 24 ipv4 16
ipv6 64 ipv6 64
} }
request>headers>Cookie cookie { request>headers>Cookie cookie {