Filebeat and Structured Json logging

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

filebeat 5.0 alpha4 supports parsing json-based logs into events (currently requires one json event per line). See docs

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