Thank you very much, i try with the graylog.drl but it's not works.

import org.graylog2.plugin.Message

rule "Ignore Debug Messages"
    when
        m : Message( getField("level") == "7" )
    then
        System.out.println("DEBUG: Blacklisting message."); // Don't do 
this in production.
        m.setFilterOut(true);
end

Is my code wrong or msust restating the Graylog when i change the 
graylog.drl?

regards
Steve


Am Montag, 14. März 2016 10:00:42 UTC+1 schrieb Steve Miller:
>
> Hello
>
> Is it possible to delete all message from Graylog/Elasticsearch with 
> syslog level 7? Purhaps with a cron job.
> We have many debug messages in our Graylog, and so i'm looking for a way 
> how can remove all this debug messages.
>
> regards
> Steve
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/2ec34683-a0c6-46f8-94c8-604124dfab60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to