Array Logstash json

Hello,
I have the following input in JSON file:
[[{"traceId":"ssss","id":"sss","kind":"CLIENT","name":"post","timestamp":1541431973229000,"duration":1309000,"localEndpoint":{"serviceName":"agencias"},"remoteEndpoint":{"serviceName":"https://xxxx.com.br:443/inicio/v1/sales/unusual-credit-deviation?gw-app-key=fd6cbf70165f013503fc0050569009ca"},"tags":{"operationUnit":"0021754","requestEndpoint":"https://xxxx.com.br:443/inicio/v1/sales/unusual-credit-deviation?gw-app-key=ffff","requestReturnCode":"200","username":"NANA"}}],[{"traceId":"aa2d307c6d421dc4","id":"aa2d307c6d421dc4","kind":"CLIENT","name":"post","timestamp":1541431849228000,"duration":2343000,"localEndpoint":{"serviceName":"agencias"},"remoteEndpoint":{"serviceName":"https://xxxx.com.br:443/inicio/v1/sales/unusual-credit-deviation?gw-app-key=fffff"},"tags":{"operationUnit":"0021754","requestEndpoint":"https://xxxx.com.br:443/inicio/v1/sales/unusual-credit-deviation?gw-app-key=fd6cbf70165f013503fc0050569009ca","requestReturnCode":"200","username":"NANA"}}]]

I need send a json format to kafka using curl command.

Thanks by advance.

BR

Reginaldo Santos

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