Help me to remove json tag from the given json

"@timestamp" => 2020-03-06T15:24:44.555Z,
"@version" => "1",
"host" => "worker02.stg.xxxxx.com",
"path" => "/var/log/spark2/sparkBatchsla-file.log",
"payload" => {
"slaBatchRes" => { // Like to remove json tag
"resRecBatch" => [
[0] {
"sla_criteriabatch" => 0,
"sla_not_met_batch" => 0,
"correlationId" => "63294a9b-a52f-43a2-b16d-6bb2f8945e8d",
"slaCriteriaPercentBatch" => 0,
"id" => "SlaMonitoringBatch",
"sla_met_batch" => 0,
"dateRangefBatch" => "04-3-2020 08:01:22 - 03-3-2020 08:01:22"
}
],
"correlationId" => "63294a9b-a52f-43a2-b16d-6bb2f8945e8d",
"id" => "SlaMonitoringBatch"
},
"@timestamp" => "2020-03-04T08:01:22.232-05:00",
"@version" => 1,
"thread_name" => "streaming-job-executor-0",
"HOSTNAME" => "worker02.stg.affinionservices.com",
"level_value" => 20000,
"logger_name" => "SlaJson",
"level" => "INFO"
}

What do you want to remove?

Man, you didn't format your code and you didn't specify which field you would like to remove.

Please, be a bit more meticulous when asking for help.
If you're not concerned enough about your problem to take 2 minutes to write a peacefully readable post, you cannot expect others to come and help you wasting their time trying to interpret what you wrote.

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