- tm, cm.regex, cm.excluderegex, cm.flags, "tail", plugin_instance,
- cm.type, cm.type_instance, cm.latency, interval);
+ tm, cm.regex, cm.excluderegex, cm.flags,
+ (plugin_name != NULL) ? plugin_name : "tail", plugin_instance, cm.type,
+ cm.type_instance, cm.latency, interval);