# New field with ingest node

**URL:** <https://discuss.elastic.co/t/new-field-with-ingest-node/185778>\
**Category:** Elasticsearch\
**Created:** [June 14, 2019, 7:09am UTC](https://discuss.elastic.co/t/new-field-with-ingest-node/185778 "2019-06-14T07:09:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Denis.topa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/denis.topa/32/44993_2.png) [@Denis.topa](https://discuss.elastic.co/u/Denis.topa)\
**Post date:** [June 14, 2019, 7:09am UTC](https://discuss.elastic.co/t/new-field-with-ingest-node/185778/1 "2019-06-14T07:09:06Z")

</div>

Hello,  
On a locally installed version with ELK I'm using logstash with filters to create some new filed from message pulled from an xml file using filebeat.  
Here are the filters  
xml{  
source =\> "message"  
store\_xml =\> false  
target =\> "open\_ports"  
xpath =\> [  
"/host/address/@addr", "host\_IP\_address",  
"/host/hostnames/hostname/@name", "host\_name",  
"/host/ports/status/@state", "Host\_status",  
"/host/ports/port/@portid", "Port\_number",  
"/host/ports/port/state/@state", "Port\_state"  
]  
}

How can I do the same on cloud version? Because as far as I know logstash is not a part of elk cloud version.  
Could some one help me here please!

Sample data

```
<host starttime="1560311582" endtime="1560311662"><status state="up" reason="user-set" 
reason_ttl="0"/>
<address addr="x.x.x.x" addrtype="ipv4"/>
<hostnames>
<hostname name="local.text" type="PTR"/>
</hostnames>
<ports><extraports state="open|filtered" count="208">
<extrareasons reason="no-responses" count="208"/>
</extraports>
<extraports state="filtered" count="44">
<extrareasons reason="no-responses" count="44"/>
</extraports>
<port protocol="tcp" portid="80"><state state="open" reason="syn-ack" reason_ttl="58"/>        
<service name="http" method="table" conf="3"/></port>
<port protocol="tcp" portid="443"><state state="open" reason="syn-ack" reason_ttl="58"/>    
<service name="https" method="table" conf="3"/></port>
</ports>
<times srtt="2687" rttvar="611" to="100000"/>
</host>

```

Thank you!

---

<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:** [July 12, 2019, 7:09am UTC](https://discuss.elastic.co/t/new-field-with-ingest-node/185778/2 "2019-07-12T07:09:09Z")

</div>

Closed on July 12, 2019, 7:09am UTC

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