len - Administrator Guide - Cortex XSIAM - Cortex - Security Operations

Cortex XSIAM Documentation

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

Learn more about the Cortex Query Language len function that returns the number of characters contained in a string.

Syntax
len (<string>)
Description

The len() function returns the number of characters contained in a string.

Examples

Show domain names that are more than 100 characters in length.

dataset = xdr_data 
| fields dns_query_name 
| filter len(dns_query_name) > 100 
| limit 10