Commit 2a11f9f2 authored by nimrod's avatar nimrod
Browse files

Decode JSON logs.

parent 0ab9065f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -13,6 +13,10 @@ http:
processors:
  - add_host_metadata: ~
  - add_docker_metadata: ~
  - decode_json_fields:
    fields:
      - message
    add_error_key: true

filebeat.inputs:
  - type: container
+7 −3
Original line number Diff line number Diff line
@@ -10,9 +10,13 @@ logging:
http:
  enabled: true

processors:
  - add_host_metadata: ~
  - decode_json_fields:
    fields:
      - message
    add_error_key: true

journalbeat.inputs:
  - paths: []
    seek: cursor

processors:
  - add_host_metadata: ~