Condition syntax is same as filter/cond
.
{
"output": [
{
"type": "cond",
// (required)
"condition": "level == 'ERROR'",
// (required)
"output": [
// output config
{ "type": "stdout" }
]
// (optional)
"else_output": []
}
]
}