Split plugin
June 6, 2024 ยท View on GitHub
It splits array of objects into different events.
For example:
{
"data": [
{ "message": "go" },
{ "message": "rust" },
{ "message": "c++" }
]
}
Split produces:
{ "message": "go" },
{ "message": "rust" },
{ "message": "c++" }
Parent event will be discarded. If the value of the JSON field is not an array of objects, then the event will be pass unchanged.
Config params
field cfg.FieldSelector
Path to the array of objects.
Generated using insane-doc