# How to apply json parser for particular grok parsed field and get new json parsed fields

**URL:** <https://discuss.elastic.co/t/how-to-apply-json-parser-for-particular-grok-parsed-field-and-get-new-json-parsed-fields/203064>\
**Category:** Elasticsearch\
**Created:** [October 10, 2019, 3:46pm UTC](https://discuss.elastic.co/t/how-to-apply-json-parser-for-particular-grok-parsed-field-and-get-new-json-parsed-fields/203064 "2019-10-10T15:46:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![O\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/o_k/32/52424_2.png) [@O\_K](https://discuss.elastic.co/u/O_K)\
**Post date:** [October 10, 2019, 3:46pm UTC](https://discuss.elastic.co/t/how-to-apply-json-parser-for-particular-grok-parsed-field-and-get-new-json-parsed-fields/203064/1 "2019-10-10T15:46:59Z")

</div>

Hi there!  
I'd like to have already parsed field **app\_message** additionally parsed with fields like **language,**** companyEmail, ****country ,**

Please suggest the proper way to do this.

```auto
    <filter kubernetes.**>
        #@id filter_parser
        @type parser
        key_name log
        reserve_data true
        reserve_time true
        <parse>
          @type grok
          grok_failure_key grokfailure
          <grok>
            pattern %{TIMESTAMP_ISO8601:app_timestamp}" level\=%{DATA:app_log_level} msg\=%{GREEDYDATA: **app_message** }
          </grok>
        </parse>
    </filter>

```

**app\_message** content:

`Create data draft in db: DatasetDraftVO(id=d57f73fc547f, datasetVO=null, entityId=legalEntityId, datasetVersion=1, data=VerifiableCredential(contexts=[https://www.w3.org/2018/credentials/v1, https://app.com/api/v1], id=le_cd_1, types=[VerifiableCredential,credentialSubject={"corporateData":{"bylaws":{"value":""}," **language**":{"value":"English"}," **legalForm**":{"value":"Private limited company"}," **legalName**":{"value":"CompanyName1"}," **companyEmail**":{"value":"[te...@mail.com](javascript:)"}," **companyWebsite**":{"value":"MyProgram.fr"}," **country**":{"value":"France"}," **mailbox**":{"value":"444"}," **zipCode**":{"value":"2000"}} proofs=null), **draftStatus** =DRAFT)`

---

<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:** [November 7, 2019, 3:47pm UTC](https://discuss.elastic.co/t/how-to-apply-json-parser-for-particular-grok-parsed-field-and-get-new-json-parsed-fields/203064/2 "2019-11-07T15:47:07Z")

</div>

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