if input json is array collection of target items

20 views
Skip to first unread message

Devel Php

unread,
Sep 24, 2015, 10:51:10 AM9/24/15
to Fluentd Google Group
its possible handle every item from collection, if this collection is recieved in input plugin?

input url example:
somepath?json=[{a:1, b:11},{a:2, b:3}, {a:408, b:14544}]


item example:
{a:1, b:11} 

i need use every item from collection in output plugin as separate item (not as full collection)


INPUT
somepath?json=[{a:1, b:11},{a:2, b:3}, {a:408, b:14544}]

PARSED OUTPUT
{a:1, b:11} 
{a:2, b:3}
{a:408, b:14544}

Mr. Fiber

unread,
Sep 24, 2015, 1:39:08 PM9/24/15
to Fluentd Google Group
If you mean http input, batch mode is for this case.


Masahiro

--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages