I've been debugging my logstash config, and end up running into this:
root@indexerNode01:/opt/logstash/bin# ./logstash -t -f /etc/logstash/conf.d/filter.conf
The given configuration is invalid. Reason: undefined method `terminal?' for #<LogStash::Config::AST::Attribute:0x13015762> {:level=>:fatal}
Googled turn up nothing on undefined method `terminal?'
that I could find.
service logstash configtest
gives me this:
root@indexerNode01:/opt/logstash/bin# service logstash configtest
The given configuration is invalid. Reason: undefined method `recursive_inject' for #<Treetop::Runtime::SyntaxNode:0x4baebf67> {:level=>:fatal}
To further confuse things, I have a second node configured identically to the first one. Both config test commands return "Configuration OK" when run on that node.
I use ansible to template the config files. I've even copied the filter.conf file from both locally and used Kompare to diff them. They were identical.
Both nodes are running Logstash 2.3.4 installed from the apt repos. The OS is Ubuntu 14.04.
My config is here: http://pastebin.com/f9sbthGU
Any suggestions?