Package org.graylog2.plugin.filters
Interface MessageFilter
- All Known Implementing Classes:
ExtractorFilter
,StaticFieldFilter
public interface MessageFilter
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Process a MessagegetName()
int
For determining the runtime order of the filter, specify a priority.
-
Method Details
-
filter
Process a Message- Returns:
- true if this message should not further be handled (for example for blacklisting purposes)
-
getName
String getName()- Returns:
- The name of this filter. Should not include whitespaces or special characters.
-
getPriority
int getPriority()For determining the runtime order of the filter, specify a priority. Lower priority values are run earlier, if two filters have the same priority, their name will be compared to guarantee a repeatable order.- Returns:
- the priority
-