Hi Team,
I need to create a nested jason array in Fluentd and send it to the http server using http output plugin. I am using the below code to do this.
To create the nested jaran array, I am using @type record_transformer, but the data is not created successfully.
So, does anybody have any idea how to create a Nested Jason array and send it to http server ?
<filter fpcon.**>
@type record_transformer
<format>
@type json
</format>
<record>
id "Fd01"
name "fdname"
value "{
'EventType': 'FdDown',
'Severity' : 'minor'
}"
</record>
</filter>
<match fpcon.**>
@type http
endpoint
http://0.0.0.:10170/postAlarmRequest open_timeout 2
<format>
@type json
</format>
<buffer>
flush_interval 10s
</buffer>
</match>
Thanks,
Satyajit