Below is the parse regex statement that will extract both IPv6 and IPv4 from your logs.
| parse regex "(?<ip>(?:[0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4}|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})"
Below is the parse regex statement that will extract both IPv6 and IPv4 from your logs.
| parse regex "(?<ip>(?:[0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4}|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})"
Comments
0 comments
Please sign in to leave a comment.