# Telegraf Buffer on Disk

**URL:** <https://community.influxdata.com/t/telegraf-buffer-on-disk/15276>\
**Category:** Telegraf\
**Tags:** telegraf\
**Created:** [July 16, 2020, 10:02pm UTC](https://community.influxdata.com/t/telegraf-buffer-on-disk/15276 "2020-07-16T22:02:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mert](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/mert/32/5152_2.png) [@Mert](https://community.influxdata.com/u/Mert)\
**Post date:** [July 16, 2020, 10:02pm UTC](https://community.influxdata.com/t/telegraf-buffer-on-disk/15276/1 "2020-07-16T22:02:04Z")

</div>

Hi, as far as I know telegraf buffer keeps the data in memory. Is there a way to write data in disk for a limited size configured by user in case of a situation like buffer fills up and there is no connection with influxdb. Then re-write this data back to database when it’s available.

---

<div class="post-metadata">

**Author:** ![daniel](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/daniel/32/142_2.png) [@daniel](https://community.influxdata.com/u/daniel)\
**Post date:** [July 17, 2020, 1:04am UTC](https://community.influxdata.com/t/telegraf-buffer-on-disk/15276/2 "2020-07-17T01:04:05Z")

</div>

No, unfortunately Telegraf doesn’t support this currently. One way to work around this is to have Telegraf send to a message broker, such as kafka or rabbitmq, and then have another Telegraf pull the data from the broker and send the data into InfluxDB.
