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
1 changed files with 3 additions and 3 deletions

View File

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