Function automatically imports all eventfields of logfile. No need to define these fields by hand anymore.