multiply - Reference Guide - Cortex XSIAM - Cortex - Security Operations

Cortex XSIAM XQL Language Reference

Product
Cortex XSIAM
Creation date
2024-02-26
Last date published
2024-04-16
Category
Reference Guide
Abstract

Learn more about the Cortex Query Language multiply() function that multiplies two integers.

Syntax

multiply (<string> | <integer>, <string> | <integer>)

Description

The multiply() function multiplies two positive integers. Parameters can be either integer literals, or integers as a string type such as might be contained in a data field.

Example

dataset = xdr_data 
| alter mynum = multiply(action_file_size, 3) 
| fields action_file_size, mynum 
| filter action_file_size > 0 
| limit 1