Logstash Persistent Queue Buffer time

Hi,

I am exploring on Logstash resiliency part and come to know about the logstash Persistent Queue. I am searching what is the maximum buffer time of this Persistent Queue? Our requirement is the buffer should hold the data for 24 Hrs (in worst case).

Thanks.

There is no time configuration, the persistent queue is configured by size with queue.max_bytes, so if you want to keep the data for 24 hours, you need to specify a size in disk that can hold 24 hours of your events.

Thanks @leandrojmp for your quick reply.
So if I allocate enough memory space or specify event count it can fulfill any 'time' requirement.

Thanks