Skip to content

Latest commit

 

History

History
executable file
·
33 lines (25 loc) · 578 Bytes

README.md

File metadata and controls

executable file
·
33 lines (25 loc) · 578 Bytes

Split plugin

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