# How to configure filebeat log format to human readable instead of json?

**URL:** <https://discuss.elastic.co/t/how-to-configure-filebeat-log-format-to-human-readable-instead-of-json/337032>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 28, 2023, 3:55am UTC](https://discuss.elastic.co/t/how-to-configure-filebeat-log-format-to-human-readable-instead-of-json/337032 "2023-06-28T03:55:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wymli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wymli/32/122768_2.png) [@wymli](https://discuss.elastic.co/u/wymli)\
**Post date:** [June 28, 2023, 3:55am UTC](https://discuss.elastic.co/t/how-to-configure-filebeat-log-format-to-human-readable-instead-of-json/337032/1 "2023-06-28T03:55:48Z")

</div>

With `-e` option, `Filebeat version 7.9.1` will output logs in this human-readable way.  
e.g.

```auto
2023-06-28T11:51:10.059 + 0800 INFO [publisher] pipeline/retry.go: 223 done

```

But `filebeat version 8.8.1 ` does not, outputs the log in json format.  
e.g.

```auto
{"log.level":"info","@timestamp":"2023-06-28T11:55:30.869+0800","log.logger":"monitoring","log.origin":{"file.name":"log/log.go","file.line":196},"message":"Uptime: 908.561801ms","service.name":"filebeat","ecs.version":"1.6.0"}

```

How can I configure it?

---

<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:** [June 28, 2023, 3:55am UTC](https://discuss.elastic.co/t/how-to-configure-filebeat-log-format-to-human-readable-instead-of-json/337032/2 "2023-06-28T03:55:48Z")

</div>

version 7.9.1 is [EOL](https://www.elastic.co/support/eol) and no longer supported. Please upgrade ASAP.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

---

<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:** [July 26, 2023, 5:56am UTC](https://discuss.elastic.co/t/how-to-configure-filebeat-log-format-to-human-readable-instead-of-json/337032/3 "2023-07-26T05:56:06Z")

</div>

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