[SOLVED][LOGSTASH-FILTER-RUBY] Import class 'date'

Hello I have the following error when I try to import 'date' library on ruby logstash filter.

[2020-03-11T09:09:01,916][ERROR][logstash.filters.ruby ][main] Ruby exception occurred: cannot load Java class date

My code is :

ruby {
code => '
import "date"

If someone have an idea ?

Sorry I work on contener and I have forget to reinstall logstash-filter-ruby

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