Skip to content
Legacy docs for Tenzir v5.x. For the latest Tenzir v6 series, visit docs.tenzir.com. Migrating from v5? Read the Tenzir v6 migration guide.

Casts an expression to an IP address.

ip(x:string) -> ip

The ip function casts the provided string x to an IP address.

from {x: ip("1.2.3.4")}
{x: 1.2.3.4}

Last updated: