diff --git a/src/utils_tail_match.h b/src/utils_tail_match.h
index d08c728eb4fef8b881df8aabbdb9aa6903d04b2d..765974576660449c3887707007afc1edf8a6ea1e 100644 (file)
--- a/src/utils_tail_match.h
+++ b/src/utils_tail_match.h
* The values gathered are dispatched by the tail_match module in this case. The
* passed `plugin', `plugin_instance', `type', and `type_instance' are
* directly used when submitting these values.
+ * With excluderegex it is possible to exlude lines from the match.
*
* RETURN VALUE
* Zero upon success, non-zero otherwise.
*/
int tail_match_add_match_simple (cu_tail_match_t *obj,
- const char *regex, int ds_type,
+ const char *regex, const char *excluderegex, int ds_type,
const char *plugin, const char *plugin_instance,
const char *type, const char *type_instance);