How to export search/query from Tracking Center as report?

I don't quite understand the question - what would you like to have?

you can run pmg-log-tracker with appropriate options and would get the results in a processable way on the command-line
 
Run below script give the below result. How do I convert the time and status same as I see in the tracking center?

pmg-log-tracker -v -s '2020-08-01 00:00:00' -e '2020-08-07 00:00:00' -n -g -t xxx@xxx.com

Code:
SMTPD: T5F2C98FFL00000000
CTIME: 5F2C9902
CLIENT: unknown[170.130.213.40]
TO:5F2C9902:T5F2C98FFL00000000:Q: from <paul-kelly-xxx=xxx.com@goulbap.casa> to <xxx@xxx.com>

1597022812986.png
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!