Skip to content

Messages directed only to the first target when a format function is defined #690

Description

@gsaviane

The following configuration

[telegraf/raspberrypi/weather]
format = openweathermap_format()
targets = smtp:user, file:mqttwarnlog, log:info
title = "Weather forecast"

Routes messages only to the first target (smtp), although the documentation states that all the targets should receive messages. If I change the order of the targets, like

[telegraf/raspberrypi/weather]
format = openweathermap_format()
targets = file:mqttwarnlog, smtp:user, log:info
title = "Weather forecast"

Then the file target only would receive the messages.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions