# Filebeat field rename does not work

**URL:** <https://discuss.elastic.co/t/filebeat-field-rename-does-not-work/223084>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 11, 2020, 9:32am UTC](https://discuss.elastic.co/t/filebeat-field-rename-does-not-work/223084 "2020-03-11T09:32:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![poitschkka01](https://avatars.discourse-cdn.com/v4/letter/p/8797f3/32.png) [@poitschkka01](https://discuss.elastic.co/u/poitschkka01)\
**Post date:** [March 11, 2020, 9:32am UTC](https://discuss.elastic.co/t/filebeat-field-rename-does-not-work/223084/1 "2020-03-11T09:32:26Z")

</div>

Hello,  
the file rename does not work inmy configuration. Any idea why?  
filebeat version is 7.6.0 or 7.6.1 (tested with both).  
The logs are shipped to graylog.

```
 # Set directory for additional inputs:
filebeat.config.inputs:
  enabled: true
  path: /etc/filebeat/conf.d/*.yml

filebeat:
output:
    logstash:
      hosts:
        - 10.247.x.yyy:12204
        - 10.247.x.yyy:12204
        - 10.247.x.yyy:12204
        - 10.247.x.yyy:12204
        - 10.247.x.yyy:12204
      loadbalance: true
processors:
- decode_json_fields:
    fields: ['message']
    target: ""
# overwrite_keys: true
    max_depth: 4
    add_error_key: true

# rename log_file_path to path to be compatible with logstash
- rename:
    fields:
      - from: "log_file_path"
        to: "path"
# ignore_missing: true
# fail_on_error: true

- timestamp:
    field: 'dateTime'
    timezone: 'UTC'
    layouts:
    - '2006-02-01T15:04:05.000 UTC'
    - '01/02/2006 15:04:05.000 UTC'
    test:
    - '12/10/2019 14:44:27.267 UTC'
    - '12/31/2019 14:44:27.267 UTC'

# Logging
logging.level: info # default info. One of debug, info, warning, error
```

---

<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:** [April 8, 2020, 9:32am UTC](https://discuss.elastic.co/t/filebeat-field-rename-does-not-work/223084/2 "2020-04-08T09:32:32Z")

</div>

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