Skip to content

miss filter for telegraf_agent_output #148

@falon

Description

@falon

here you should add

{% if item.filter is defined %}
{% if item.filter.name is defined %}
    [outputs.{{ item.type }}.{{ item.filter.name }}]
{% if item.filter.config is defined and item.filter.config is iterable %}
{% for items in item.filter.config %}
        {{ items }}
{% endfor %}
{% endif %}
{% endif %}
{% endif %}

many output agent need filters. For instance see at output.http.headers in output http plugin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions