Elastic Agent fleet-managed advanced filebeat configuration

We use the elastic agent fleet-managed solution extensively, especially with the custom logs integration for monitoring application logs.
We need to set the filebeat close_*, scan_frequency and ignore_older parameters.

How can these settings be set? Via processors? Via custom configurations?

Thank you for your support