# Grok will not change field type to Int or IP

**URL:** <https://discuss.elastic.co/t/grok-will-not-change-field-type-to-int-or-ip/63756>\
**Category:** Logstash\
**Created:** [October 24, 2016, 1:40pm UTC](https://discuss.elastic.co/t/grok-will-not-change-field-type-to-int-or-ip/63756 "2016-10-24T13:40:04Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [October 24, 2016, 2:15pm UTC](https://discuss.elastic.co/t/grok-will-not-change-field-type-to-int-or-ip/63756/4 "2016-10-24T14:15:39Z")

</div>

Have a look at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-\*-java/lib/logstash/outputs/elasticsearch/elasticsearch-template.json.

---

_[View the full topic](https://discuss.elastic.co/t/grok-will-not-change-field-type-to-int-or-ip/63756)._
