please help this is json format which i wanna parse using socket plugin and plot its dashboard on grafana. Could anyone please help
My sample json which i waana parse
[{"siteName":"Casasii","hsip":"10.13.49.125","alertType":"DISCONNECTION_ALERT","devices":[{"deviceName":"Lutron Homeworks QSX","deviceId":"5","connectionType":"simplesocket","ip":"10.13.17.89","port":23,"message":"Not able to connect with lutron, Its IP address is not reachable","code":1001,"timestamp":354453423},{"deviceName":"Samsung DVB TV","deviceId":"5","connectionType":"serial","portName":"/dev/ttyS1","roomid":5,"message":"No RX Available for samsung tv","code":1002,"timestamp":354453423}]},{"siteName":"Casasii","hsip":"10.13.49.125","alertType":"CONNECTION_ALERT","devices":[{"deviceName":"Lutron Homeworks QSX","deviceId":"5","connectionType":"simplesocket","ip":"10.13.17.89","port":23,"message":"connection with lutron is successful ,Its IP address is reachable now","code":1002,"timestamp":354453423}]}]
And my configuration file
[[inputs.socket_listener]]
URL to listen on
service_address = “tcp://:8094”
max_connections = 1024
read_timeout = 0
keep_alive_period = “5m”
data_format = “json_v2”