Not getting log from custom path

I have elastic agent in fleet mode. I have docker application generate log at /log/mytest.log. I configured custom log to point to the path. All seem good but not getting log from the path. Did I missing anything? I configure using eck stack 9.0.0

FYI health showing good status