# Filebeat and Structured Json logging

**URL:** <https://discuss.elastic.co/t/filebeat-and-structured-json-logging/55747>\
**Category:** Beats\
**Created:** [July 18, 2016, 10:52am UTC](https://discuss.elastic.co/t/filebeat-and-structured-json-logging/55747 "2016-07-18T10:52:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fatmanmclone90](https://avatars.discourse-cdn.com/v4/letter/f/c5a1d2/32.png) [@fatmanmclone90](https://discuss.elastic.co/u/fatmanmclone90)\
**Post date:** [July 18, 2016, 10:52am UTC](https://discuss.elastic.co/t/filebeat-and-structured-json-logging/55747/1 "2016-07-18T10:52:35Z")

</div>

We are using the Serilog library to log JSON formatted messages to disk and exporting these to Elasticsearch via Filebeat.

In Filebeat Alpha 5 Alpha 4 is there a way to get Filebeat to export the logs in a way that Elasticsearch will know they are JSON?

I've seen some issues suggesting this is a feature in the Alpha release but can't find any examples of how to set this up.

Thanks for any help

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [July 18, 2016, 2:03pm UTC](https://discuss.elastic.co/t/filebeat-and-structured-json-logging/55747/2 "2016-07-18T14:03:21Z")

</div>

filebeat 5.0 alpha4 supports parsing json-based logs into events (currently requires one json event per line). [See docs](https://www.elastic.co/guide/en/beats/filebeat/master/configuration-filebeat-options.html#config-json)

---

<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:** [August 8, 2016, 10:52am UTC](https://discuss.elastic.co/t/filebeat-and-structured-json-logging/55747/3 "2016-08-08T10:52:39Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
