Elastic Agent offline caching of events

Do you have a reference where that queue size is controlled? Thank you very much.