Configuring maximum writes per connection

Hello team,

I wanted to know whether we can limit the number of writes per connection so as to prevent huge data writes from a particular rogue system/device.For example, a faulty device may be pushing huge amount of logs to influxdb (running as a docker) and causes OOM.Is there a configuration that can be set to stop this scenario from happening?

Thanks

Hello @mrAbhishek,
Are you looking for a Telegraf config option?
There is:
https://docs.influxdata.com/influxdb/v1.8/administration/config/#in-memory-inmem-index-settings