# Unable to use rename processor

**URL:** <https://discuss.elastic.co/t/unable-to-use-rename-processor/154733>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 31, 2018, 12:02am UTC](https://discuss.elastic.co/t/unable-to-use-rename-processor/154733 "2018-10-31T00:02:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rocketraman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rocketraman/32/32342_2.png) [@rocketraman](https://discuss.elastic.co/u/rocketraman)\
**Post date:** [October 31, 2018, 12:02am UTC](https://discuss.elastic.co/t/unable-to-use-rename-processor/154733/1 "2018-10-31T00:02:22Z")

</div>

I am trying to use the rename processor in Filebeat 6.4.2 like this:

```auto
    processors:
      - rename:
        fields:
          - from: "app.kubernetes.io/name"
            to: "app"
          - from: "app.kubernetes.io/part-of"
            to: "part.of"
        ignore_missing: true
        fail_on_error: false

```

However with this configuration filebeats fails to start up, with the error:

```auto
Exiting: error unpacking config data: required 'object', but found 'bool' in field 'processors.0.ignore_missing' (source:'/etc/filebeat.yml')

```

Not sure why filebeat thinks `ignore_missing` is an object type rather than boolean.

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [October 31, 2018, 5:44pm UTC](https://discuss.elastic.co/t/unable-to-use-rename-processor/154733/2 "2018-10-31T17:44:59Z")

</div>

Hi @rocketraman,

You need to add an indentation level to your rename processor settings, also take into account that you need to use the full field name in `from`:

```auto
    processors:
      - rename:
          fields:
            - from: "kubernetes.labels.app.kubernetes.io/name"
              to: "app"
            - from: "kubernetes.labels.app.kubernetes.io/part-of"
              to: "part.of"
          ignore_missing: true
          fail_on_error: false

```

---

<div class="post-metadata">

**Author:** ![rocketraman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rocketraman/32/32342_2.png) [@rocketraman](https://discuss.elastic.co/u/rocketraman)\
**Post date:** [November 1, 2018, 6:28am UTC](https://discuss.elastic.co/t/unable-to-use-rename-processor/154733/3 "2018-11-01T06:28:44Z")

</div>

@jsoriano I think that might have been the only indentation variation I _didn't_ try, lol 🙂 It still doesn't work but at least the config is being parsed now. I'll post in my other thread about the remaining issues.

---

<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:** [November 29, 2018, 6:28am UTC](https://discuss.elastic.co/t/unable-to-use-rename-processor/154733/4 "2018-11-29T06:28:46Z")

</div>

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