Passthrough
function main({obj, size, source}) {
printf("hello world: ts: %d, size: %d, source: %s", obj["@timestamp"], size, source)
obj["@type"] = "event"
return "pass"
}
Updated 9 months ago
function main({obj, size, source}) {
printf("hello world: ts: %d, size: %d, source: %s", obj["@timestamp"], size, source)
obj["@type"] = "event"
return "pass"
}
Updated 9 months ago