I just checked with the latest 1.0.1 appliance and for me it still works.

This is the rule (taken/adapted from the GL documentation):

# graylog.conf
rules_file = /opt/graylog/conf/graylog.drl

# graylog.drl
import org.graylog2.plugin.Message
rule "Rewrite localhost host"
    when
        m : Message( source == "s0000000.dfch.biz" )
    then
        m.addField("source", "s0000000.example.com" );
        System.out.println( "[Overwrite localhost rule fired] : " + 
m.toString() );
end


On Wednesday, March 18, 2015 at 11:17:56 PM UTC+1, ZipTX wrote:

> Can anyone running the new 1.0.1 code verify that their Drool rules are 
> working?   I've verified the rules_file path and the rules file.  I am 
> using the prebuillt OVA build from graylog with the changed config file at 
> /opt/graylog/conf/graylog.conf and the rules file in the same location of 
> /opt/graylog/conf/graylog.drl
>
>
> rules_file = /opt/graylog/conf/graylog.drl
>
>
> Thanks!
>

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to