# Turn Packetbeat IP data from String to IP field type

**URL:** https://discuss.elastic.co/t/turn-packetbeat-ip-data-from-string-to-ip-field-type/51546
**Category:** Logstash
**Created:** [June 1, 2016, 10:31am UTC](https://discuss.elastic.co/t/turn-packetbeat-ip-data-from-string-to-ip-field-type/51546 "2016-06-01T10:31:15Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Kennedy\_Kan1](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@Kennedy\_Kan1](https://discuss.elastic.co/u/Kennedy_Kan1)
#### Post date: [June 1, 2016, 2:27pm UTC](https://discuss.elastic.co/t/turn-packetbeat-ip-data-from-string-to-ip-field-type/51546/5 "2016-06-01T14:27:54Z")

</div>

Great Thanks. It does a great help.  
However, even I have made the logstash conf file to use the template I made from the source, seem the field collected are still all strings instead of changing to other types of data. For example, the ip data collected are originally just a string, then I have mapped it as an IP in the template json file. However, in the setting in Kibana, it is still a string.

---

_[View the full topic](https://discuss.elastic.co/t/turn-packetbeat-ip-data-from-string-to-ip-field-type/51546)._
