blob: d91d07a0b8acd52b3b193f89f4720a04db537ab9 [file] [log] [blame]
[{{ encoder_name }}_encoder]
type = "ESJsonEncoder"
{%- if encoder.index is defined %}
index = "{{ encoder.index }}"
{%- else %}
{% raw %}
index = "%{Type}-%{%Y.%m.%d}"
{%- endraw %}
{%- endif %}
es_index_from_timestamp = true
fields = [ "DynamicFields", "Hostname", "Logger", "Payload", "Pid", "Severity", "Timestamp", "Type" ]