Please find the debug o/p , We want each logEvents as separate event in kibana, since logEvents will be huge in count and it takes time to load in kibana
{
"logEvents" => [
[ 0] {
"message" =>
"id" =>
"timestamp" =>
"extractedFields" =>
"dstport" =>
"bytes" =>
"srcport" =>
"version" =>
"log_status" =>
"action" =>
"packets" =>
"protocol" =>
"end" =>
"account_id" =>
"interface_id" =>
"start" =>
"srcadent" =>
"dstadent" =>
}
},
[ 1] {
"message" =>
"id" =>
"timestamp" =>
"extractedFields" =>
"dstport" =>
"bytes" =>
"srcport" =>
"version" =>
"log_status" =>
"action" =>
"packets" =>
"protocol" =>
"end" =>
"account_id" =>
"interface_id" =>
"start" =>
"srcadent" =>
"dstadent" =>
}
},
"messageType" => "",
"@version" => "1",
"@timestamp" => 2019-09-05T07:42:13.612Z,
"subscriptionFilters" => [
[0] "vpc"
],
"logGroup" => "",
"s3Path" => "",
"owner" => "",
"logStream" => ""
"type" => ""
}