Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 480 Bytes

mustache.md

File metadata and controls

21 lines (16 loc) · 480 Bytes

Mustache filter

Status : core plugin, unit tested and maintained.

The Mustache filter is used to render a new field using a template and the provided data.

Config using logstash format:

filter {
  mustache {
    template => '{{host}} received {{value}}'
    target_field => 'mustache_string'
  }
}

Parameters:

  • template: mustache template to apply. Default uses the full data object.
  • target_field: field to store the result. Default : source field.