admin server db should have indexes over log data and log dates to support execute the queries more efficiently