I've got sth like:
I've tried split input plugin but I think it would not work becouse I need parent key of the array. In this case there is no key because array is top instance without key. I read this:
but there is no answer of my problem.
Thank you for your help.
What exactly is your goal? Do you need each element as a separate event or as a top-level field in the same event?
Also, what is the actual input?
My input is sth like this:
I would like each object separate as a document.
Then defining a
codec => "json"
in your input should be sufficient enough for this (unless it's multiline, in which case it becomes a bit trickier).
@Paris Mermigkas It's working!!! Thank you very much. I thought that I need to do this by filter but codec works great! Thank you!!!
Topic can be closed
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.