For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex XDR 3.x

int_to_ip

Learn more about the Cortex Query Language int_to_ip() function that safely converts a signed integer representation of an IPv4 address to a string equivalent.

Syntax

int_to_ip(<IPv4_integer>)

Description

The int_to_ip() function tries to safely convert a signed integer representation of an IPv4 address into its string equivalent.

Examples

Returns the IPv4 address "4.130.58.140" from the integer representation of the IPv4 address provided as 75643532.

int_to_ip(75643532)

Returns the IPv4 address "251.125.197.116" from the integer representation of the IPv4 address provided as -75643532.

int_to_ip(-75643532)

Last updated

Was this helpful?