Sending influx metrics over UDP #916
-
The environment I am deploying to has an existing influx stack with a requirement to use UDP. How can I configure harvest to send over UDP? I would very much like to be able to do this - The only alternative method I can think of is adding a telegraf service alongside and using a UDP plugin - but I would like to avoid this if we can stick with just harvest. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
hi @mroysterhead not sure how widely used metrics over UDP would be if we added it to Harvest. I thought Influx dropped support for UDP in Since Harvest only supports Influx v2, I think Telegraf is probably your best bet. |
Beta Was this translation helpful? Give feedback.
-
That's what I ended up doing. For posterity, here's the telegraf config to basically behave as a translation proxy from TCP to UDP:
|
Beta Was this translation helpful? Give feedback.
hi @mroysterhead not sure how widely used metrics over UDP would be if we added it to Harvest. I thought Influx dropped support for UDP in
v2
or did they change their mind? Ah found it.Since Harvest only supports Influx v2, I think Telegraf is probably your best bet.