fluent-plugin-record-modifier
fluent-plugin-record-modifier copied to clipboard
Handling complex transformation
Hi wondering if the plugin can handle a transformation like
{
"source": "192.168.29.133",
"message": "SESSION,150,1,READ,SELECT,TABLE,public.ce_queue,\"select cq.uuid from ce_queue cq where \n\t cq.status='PENDING' limit $1 offset $2\",<not logged>"
}
to convert this to
{
"source": "192.168.29.133",
"operation": "READ",
"name": "public.ce_queue",
"query": "select cq.uuid from ce_queue cq where cq.status='PENDING' limit $1 offset $2",
"parameters": "<not logged>"
}