UUID
less than a minute
The UUID converter creates a v4 Universally Unique Identifier that you can add to your logs to identify them without relying on centralized systems for unique key generation.
Syntax: UUID()
Input
{
"_type": "log",
"timestamp": 1735885742146,
"body": "session_id=abc123 user_id=admin event_type=login event_status=success debug_info=verbose connection_id=conn456 temp_file=report_tmp.log temp_data=sensitiveData",
"resource": {...}
}
Statement
set(attributes["processing_uuid"], UUID())
Output
{
"_type": "log",
"timestamp": 1735885768037,
"body": "session_id=abc123 user_id=admin event_type=login event_status=success debug_info=verbose connection_id=conn456 temp_file=report_tmp.log temp_data=sensitiveData",
"resource": {...},
"attributes": {
"processing_uuid": "920ce7bd-4b8a-4a7e-bd8b-fc7aece2c9dd"
}
}