Storing run-time audit information

I am talking about writing your own history handler.
Similar to: JSON History Provider (usecase: ElasticSearch indexing)

You could also look to use pull style where you query the rest API for your data and store the results. You could run this query on a schedule.