# Randomly xml tags are not showing in the elasticsearch 7.14

**URL:** <https://discuss.elastic.co/t/randomly-xml-tags-are-not-showing-in-the-elasticsearch-7-14/302994>\
**Category:** Elasticsearch\
**Created:** [April 22, 2022, 8:06am UTC](https://discuss.elastic.co/t/randomly-xml-tags-are-not-showing-in-the-elasticsearch-7-14/302994 "2022-04-22T08:06:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lakshani\_Gamage](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lakshani_gamage/32/104688_2.png) [@Lakshani\_Gamage](https://discuss.elastic.co/u/Lakshani_Gamage)\
**Post date:** [April 22, 2022, 8:06am UTC](https://discuss.elastic.co/t/randomly-xml-tags-are-not-showing-in-the-elasticsearch-7-14/302994/1 "2022-04-22T08:06:23Z")

</div>

I'm using Elasticsearch 7.14. When I check the JSON format of a message in the Elasticsearch, I can see below.

```auto
"agent": {
  "ephemeral_id": "2a4c1cb3-b7d6-4a1b-b244-0e669f1d7686",
  "type": "filebeat",
  "id": "3dfa6feb-ff2c-441b-9304-c54254014cfa",
  "version": "7.14.0",
  "name": "cbc-deg",
  "hostname": "cbc-deg"
},
"message": "[2022-04-22 12:35:07,330] [http-nio-8080-exec-9] INFO [my-project,21bd73f872d330f0,ded0bf0fbea5bd9e,55883575-3768-41d3-96ea-b71f506658d2] m.service.testService - PRE- calling to FC2PS with req FC: FcAccountTransferReq() req PS: \n<TRANSACTION><SERVICETYPE>VCDECLINE</SERVICETYPE>\n<SEN_ACCOUNT_NUMBER>333333</SEN_ACCOUNT_NUMBER>\n<INITIATERWINGID>1222222</INITIATERWINGID>\n<CURRENCY>USD</CURRENCY>\n<AMOUNT>0</AMOUNT>\n<REFAMOUNT>3.99</REFAMOUNT>\n<REMARK>444444</REMARK>\n<ENTITY_CODE>FC</ENTITY_CODE>\n<ACCOUNT_NO>9999999</ACCOUNT_NO>\n<SOURCE>WEB</SOURCE>\n</TRANSACTION>\n",

```

But when I check it from Elasticsearch UI I can see below.No XML tags. Only the XML nodes contents.

 ![Selection_265](https://us1.discourse-cdn.com/elastic/original/3X/b/d/bda51b4833c516d2944f125cfc1d11c9cfcd64f2.png)

XML message previewing issue is happening randomly. Do I need to add any encoding mechanism to the Elasticsearch?

---

<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:** [May 20, 2022, 8:07am UTC](https://discuss.elastic.co/t/randomly-xml-tags-are-not-showing-in-the-elasticsearch-7-14/302994/2 "2022-05-20T08:07:02Z")

</div>

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