Unable to find Filter plugin name :(

I have build a custom plugin for my logstash. I made it's gemfile using gemspec file then i installed the plugin.

when i check for my plugin with command:

bin\logstash-plugin list --verbose

logstash-filter-jwt (0.1.0)

it is present in the list, but when i try to run my logstash which calls in the plugin, then it throws me an error -

[2018-02-02T15:52:49,333][ERROR][logstash.agent ] Cannot create pipeline {:reason=>"Couldn't find any filter plugin named 'jwt'. Are you sure this is correct? Trying to load the jwt filter plugin resulted in this error: Problems loading the requested plugin named jwt of type filter. Error: NameError NameError"}

my logstash looks like this -

input {
beats {
port => "5044"
client_inactivity_timeout => "120"
#Uncomment below SSL configurations and put appropriate values in each configuration to enable SSL/TLS communication between Logstash and Filebeat
#ssl => true
#ssl_certificate => "/opt/grace/config/logstash-forwarder.crt"
#ssl_key => "/opt/grace/config/logstash-forwarder.key"
}
}

filter {

jwt{
	secretkey => "Eg=C}k!5]YG`d{*`#dDZd4=*"

}

}
output{

}

I wanted to know that why my logstash is unable to recognise my plugin ?

If you have any suggestions, solutions, workarounds then do share. :slight_smile:

I anyone needs more data to solve this problem then feel free to ask :slight_smile:

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