As part of our log exploration project, we'd like to have the ability to fetch historical logs using the oc command. There is a way to extract logs from the running pod/deployment/daemonset/etc by using oc logs. Investigate the possibility of adding a plugin to the oc which will use either a flag or a separate command to extract the historical logs by tag, deployment, etc. Something like oc logs -historical (-tag=...|-deployment=...)
**This article maybe a good starting point: https://docs.openshift.com/container-platform/4.6/cli_reference/openshift_cli/extending-cli-plugins.html