so when you say to include the UDF portion, you mean define ReadEventlog as a function?