# Help me to remove json tag from the given json

**URL:** <https://discuss.elastic.co/t/help-me-to-remove-json-tag-from-the-given-json/222481>\
**Category:** Logstash\
**Created:** [March 6, 2020, 3:33pm UTC](https://discuss.elastic.co/t/help-me-to-remove-json-tag-from-the-given-json/222481 "2020-03-06T15:33:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jahaber\_sadhik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jahaber_sadhik/32/63978_2.png) [@jahaber\_sadhik](https://discuss.elastic.co/u/jahaber_sadhik)\
**Post date:** [March 6, 2020, 3:33pm UTC](https://discuss.elastic.co/t/help-me-to-remove-json-tag-from-the-given-json/222481/1 "2020-03-06T15:33:16Z")

</div>

"@timestamp" =\> 2020-03-06T15:24:44.555Z,  
"@version" =\> "1",  
"host" =\> "[worker02.stg.xxxxx.com](http://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](http://worker02.stg.affinionservices.com)",  
"level\_value" =\> 20000,  
"logger\_name" =\> "SlaJson",  
"level" =\> "INFO"  
}

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [March 6, 2020, 10:13pm UTC](https://discuss.elastic.co/t/help-me-to-remove-json-tag-from-the-given-json/222481/2 "2020-03-06T22:13:06Z")

</div>

What do you want to remove?

---

<div class="post-metadata">

**Author:** ![Fabio-sama](https://avatars.discourse-cdn.com/v4/letter/f/b9e5f3/32.png) [@Fabio-sama](https://discuss.elastic.co/u/Fabio-sama)\
**Post date:** [March 7, 2020, 9:36am UTC](https://discuss.elastic.co/t/help-me-to-remove-json-tag-from-the-given-json/222481/3 "2020-03-07T09:36:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 4, 2020, 9:36am UTC](https://discuss.elastic.co/t/help-me-to-remove-json-tag-from-the-given-json/222481/4 "2020-04-04T09:36:37Z")

</div>

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