influxdata / influxdata-docker

Official docker images for the influxdata stack
327 stars 248 forks source link

Question about open ports in Telegraf #769

Open MagicPupu opened 1 month ago

MagicPupu commented 1 month ago

Hello,

I am planning to deploy Telegraf in an on-premises environment, and I have noticed that the following ports are open by default:

However, I couldn't find clear documentation or explanations regarding the purpose of these ports. Could you provide more information on why they are open, what services or features are utilizing them, and if they are necessary for all deployments? I need to ensure the security and proper configuration of these ports for my specific use case.

Thank you in advance for your help!

Best regards, Antoine

De-Backer commented 1 month ago

My guess.

8125 UDP StatsD plugin? https://www.influxdata.com/blog/getting-started-with-sending-statsd-metrics-to-telegraf-influxdb/

8092 UDP Changed default port to 8092, this was to fit in more with other TICK stack things (InfluxDB uses 8090 by default for udp, Kapacitor uses 9092). I also didn't want the default to conflict with the statsd default.

https://www.influxdata.com/blog/telegraf-socket-listener-input-plugin/

https://github.com/influxdata/telegraf/pull/758#issuecomment-190760014

8094 TCP Receiving HTTP-based Metric?

MagicPupu commented 1 month ago

Ok thank you,

I will look for those.