Skip to content

Instantly share code, notes, and snippets.

@hggh
Created February 10, 2014 20:45
Show Gist options
  • Save hggh/8923819 to your computer and use it in GitHub Desktop.
Save hggh/8923819 to your computer and use it in GitHub Desktop.
Graylog2 Drools Rule File
import org.graylog2.plugin.Message
rule "delete message 1"
when
m : Message( message matches "^PHP Deprecated: getChildren.*" && getField("facility") == "php-error-logs")
then
m.setFilterOut(true);
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment