I kept running into a wall trying to get a ruby file to work for a filter and I finally simplified my config file to simply this:
filter {
ruby {
code => "event.cancel"
}
}
But even with this simple example, running logstash.bat -t gives me the following:
The given configuration is invalid. Reason: uninitialized constant LogStashCompilerLSCLGrammar::LogStash::Compiler::LSCL::AST::ConfigurationError
Can anyone point me in the right direction to get a ruby filter to work at all?