Loki lifecycle rule for S3

Hello,

I set a lifecycle rule on S3 to purge Loki logs after a certain period of time.

The following folders are concerned:

  • fake

  • index

I haven’t found any documentation regarding how to purges files on S3, is there any files that should never expire?

I did the same as you, aplied it on both the folders and it worked fine, one of them is your indexes and the other is the data.

1 Like