We first said that DLF converters are perl objects which implements the Lire::DlfConverter interface. What we did is write a class which implements the said interface. Creating the object from that class is the responsability of the DLF converter registration script. This is simply a snippet of perl code which instantiates your object:
use MyConverters::SyslogCommonConverter; return MyConverters::SyslogCommonConverter->new();
That's all there is to it, really. You put this snippet in a file named syslog_common_init in one of the directories listed in the lr_converters_init_path configuration variable.
Some other notes on this topic:
The file can actually be named anything you want, the name service_init just make it clear what is the purpose of the file.
The initial value of the lr_converters_init_path contains the directories sysconfdir/lire/converters and HOME/.lire/converters. You can change this list by using the lr_config tool.
Your registration script can return more than one objects and all of these will be registered with the framework.
You can now generate a www report for log files in that format using the command lr_log2report common_syslog < file.log.