# Error.message/type

**URL:** <https://discuss.elastic.co/t/error-message-type/166947>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 4, 2019, 11:35am UTC](https://discuss.elastic.co/t/error-message-type/166947 "2019-02-04T11:35:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![erdo](https://avatars.discourse-cdn.com/v4/letter/e/a87d85/32.png) [@erdo](https://discuss.elastic.co/u/erdo)\
**Post date:** [February 4, 2019, 11:35am UTC](https://discuss.elastic.co/t/error-message-type/166947/1 "2019-02-04T11:35:26Z")

</div>

I am using file beat to send my log file to the kibana but within my table I am seeing these two fields and I dont want them to be seen until I am facing with a parse error.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/c/ec451c1cca18bdc260d693b2e2562a6c35cdcfd7.png)

my yml file:

```
filebeat.prospectors:

# Each - is a prospector. Most options can be set at the prospector level, so
# you can use different prospectors for various configurations.
# Below are the prospector specific configurations.

- type: log

  # Change to true to enable this prospector configuration.
  enabled: true

  # Paths that should be crawled and fetched. Glob based paths.
  paths:
    #- /var/log/*.log
    - C:\Users\erdogan.alper\Desktop\log\*.json
  json.message_key: json
  json.keys_under_root: true
  json.add_error_key: true

  multiline.pattern: '^'
  multiline.negate: true
  multiline.match: after
```

---

<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:** [March 4, 2019, 11:35am UTC](https://discuss.elastic.co/t/error-message-type/166947/2 "2019-03-04T11:35:32Z")

</div>

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