[
{
"key": "@timestamp",
"value": "2024-08-21 03:02:57.871"
},
{
"key": "@message",
"value": "Aug 21, 2024 1:00:11 PM AEST INFO [com.boomi.util.LogUtil doLog] Node is using valid java"
},
{
"key": "@timestamp",
"value": "2024-08-21 03:02:42.332"
},
{
"key": "@message",
"value": "Aug 21 13:02:37 ip-10-250-122-60 auditd[3013]: Audit daemon rotating log files"
}
]
Como posso transformar o JSON em um abaixo usando jq
[
{
"@timestamp": "2024-08-21 03:02:57.871",
"@message": "Aug 21, 2024 1:00:11 PM AEST INFO [com.boomi.util.LogUtil doLog] Node is using valid java"
},
{
"@timestamp": "2024-08-21 03:02:42.332",
"@message": "Aug 21 13:02:37 ip-10-250-122-60 auditd[3013]: Audit daemon rotating log files"
}
]