I'm looking for a solution to clean logs of ambari-agent in HDP 3.1.4
I would like to keep logs during a retention period, and delete them after.
Can I configure this clean in the configuration file ambari-agent.ini, or do I need to use another system like logrotate ?
Thanks in advance