int_to_ip - Administrator Guide - Cortex XSIAM - Cortex - Security Operations

Cortex XSIAM Documentation

Product
Cortex XSIAM
Creation date
2024-03-06
Last date published
2024-10-07
Category
Administrator Guide
Abstract

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)