new_guid()

Switch services using the Version drop-down list. Learn more about navigation.
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel

Returns a random GUID (Globally Unique Identifier).

Syntax

new_guid()

Learn more about syntax conventions.

Returns

A new value of type guid.

Example

print guid=new_guid()

Output

guid
2157828f-e871-479a-9d1c-17ffde915095