Here is the sample conf file. I need to capture each event and do pre-process for that I need to use date and digest/md5 module of ruby.
init => "
code => "
numbers=Digest::MD5.hexdigest('Peter Completed') print (numbers + "\n") k=DateTime.now.strftime('%Q') print (k)