uuid
The uuid function generates a random version 4 universally unique identifier (UUID), also called a globally unique
identifier (GUID).
Alias: new_guid (uuid and new_guid are synonyms.)
Syntax
uuid()Arguments
None.
Results
Returns a new random UUID v4 as a string, in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
Cribl Search generates a new value for each event.
Examples
This example returns a single random UUID:
print uuid()This example adds a unique id field to each of 10 events:
dataset="cribl_search_sample"
| limit 10
| extend id=uuid()