Access Plugin variable inside logstash ruby filter

I want to access plugin variable inside ruby filter. For example, the logstash CSV plugin makes use of variable @columns.

Is it possible to access the variable inside ruby filter ? I tried with using the variable inside ruby filter like:

 ruby {

                code => "
                           require 'digest/md5';

But that results in ruby exception.

No, the variables in a csv filter are not in scope inside a ruby filter.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.