Automating exporting of window-statistics table

In UE4, we can view statistics of actors primitives/texture streaming resolution and memory etc by doing:

and then clicking the export button:
image

However, this is a manual process that require human to click these buttons.

Does anyone know how to automate the export of these statistics and tables using either unreal python or blueprint??

Thank you