Last 7 days of data in openHistorian

How to keep only the last 7 days of data in openHistorian?

Architecture: openHistorian has an input that connects to an output stream from openPDC.

Thanks, @ritchiecarroll !