Telegraf plugin to separate influx database

can you define an input plugin (i.e. socket) to send its data to a different influx database than the telegraf agent?

You can configure multiple outputs, and split the data based on the measurement name, tags, or fields. Check out this recent discussion: