https://ruifeio.com/2011/02/03/create-a-history-data-set-from-the-logrec-data-set/
Create a History Data Set from the Logrec Data Set