I want to deploy my service through knative, but I don't know how to collect the service log and save them in the es. The service logs are located under /var/log directory, so I mount the directory to the emptyDir volumn and collect log via sidecar. When I submit the yaml file, I find that knatve doesn't support this approach.
I know how to collect the container console log,I just don't know how to collect specific directory log when the service is deployed through knative. So does anyone know the solution ?
Thanks for your help and time