Hi
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';
                           user_name=@columns[0];
                           ...
                           ...
                "
         }
But that results in ruby exception.