What do I return from query function of datasource.js for log panel?

Hi folks,

I am having a hard time finding the data structure for the return of query function in datasource.js for log-panel. Can anyone please share the sample data returned from query function that works with log panel ?

Posted a detailed question here