# Remove part of field name from json inputted fields

**URL:** https://discuss.elastic.co/t/remove-part-of-field-name-from-json-inputted-fields/61412
**Category:** Logstash
**Created:** [September 23, 2016, 7:04pm UTC](https://discuss.elastic.co/t/remove-part-of-field-name-from-json-inputted-fields/61412 "2016-09-23T19:04:18Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![sirmodok](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@sirmodok](https://discuss.elastic.co/u/sirmodok)
#### Post date: [September 23, 2016, 7:24pm UTC](https://discuss.elastic.co/t/remove-part-of-field-name-from-json-inputted-fields/61412/2 "2016-09-23T19:24:53Z")

</div>

I have tried using the information posted here

> [@Logstash mutate - rename field that occurs as an array](https://discuss.elastic.co/t/logstash-mutate-rename-field-that-occurs-as-an-array/50096):
>
> Hi, I'm trying to rename a field within an Elasticsearch type using the mutate filter. This particular field occurs within a zero-to-many array. Here is a mapping that closely resembles mine (the names have been changed to protect the innocent): "fieldRoot": { "properties": { "fieldCollection": { "properties": { "itemColor": { "index": "no", "type": "string" }, "itemDescription": { "index": "no", "type": "string" …

And I just end up with \_rubyparse errors in my tags as well as some additional "cannot convert string to integer " errors in my logstash.log

---

_[View the full topic](https://discuss.elastic.co/t/remove-part-of-field-name-from-json-inputted-fields/61412)._
