Loki local storage vs S3

Hi Guys,

I´m wondering which is the best way to store data with Loki. We won´t have much Logs as we only monitor some Applications so local storage could be a simple solution. But I red also that the local storage could be really slow and data loss could be a thing. Is the S3 solution the best choice to store data, even if it is a small amount of data?


S3 is preferred. If cost is a factor and you really don’t have much log, local filesystem is also fine, but you’ll need to tweak your settings a bit because of default settings are made for S3.

Do keep in mind if you use local filesystem you are confined to running 1 loki server / container.

1 Like