Mapping json in http plugin

(Robin Deshwal) #1


Ii am using http output plugin to send data to my api's.

i am using mapping for map data and post data, here:
mapping => {"foo" => "%{host}"
"bar" => "%{type}"}

But i want to send below type of data:
mapping => {"foo" => "%{host}"
"bar" => {"foo" => %{type}, "bar" => %{host}}

But i can't do this, please help me to send this type of to my api url.

Thank you

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.