I am trying to persist all the logs from containers on my Kubernetes cluster. I did this before using fluentd. I configured it and it works fine using elastic search and other output plugins.
What I am trying to do now is persist this in a filesystem. I was looking at the "file" output plugin from fluentd, but as far as I can see this only allows me to write everything to a preconfigured file, or to a configured path where a new log file is created for a time interval.
I would like to be able to have the output plugin write to the file corresponding to whatever container that event log came from. Any way I can do this using plugins and configurations?