This page explains how to use the format_ipv4 function in APL.
format_ipv4
function in APL converts a numeric representation of an IPv4 address into its standard dotted-decimal format. This function is particularly useful when working with logs or datasets where IP addresses are stored as integers, making them hard to interpret directly.
You can use format_ipv4
to enhance log readability, enrich security logs, or convert raw telemetry data for analysis.
Splunk SPL users
format_ipv4
function.ANSI SQL users
format_ipv4
offers a straightforward solution.ipv4address
: A long
numeric representation of the IPv4 address in network byte order._time | formatted_ip | status | uri | method |
---|---|---|---|---|
2024-11-14 10:00:00 | 192.168.1.0 | 200 | /api/products | GET |