Logstash Error: java.lang.NoClassDefFoundError: Could not initialize class org.logstash.config.ir.compiler.ComputeStepSyntaxElement

Hi I just set up a filebeat to reach logstash and im getting the below error:

[2019-12-18T00:14:32,748][INFO ][logstash.outputs.elasticsearch] New Elasticsearch output {:class=>"LogStash::Outputs::ElasticSearch", :hosts=>["//myip:9200"]}
[2019-12-18T00:14:32,793][INFO ][logstash.outputs.elasticsearch] Using default mapping template
[2019-12-18T00:14:32,826][WARN ][org.logstash.instrument.metrics.gauge.LazyDelegatingGauge] A gauge metric of an unknown type (org.jruby.specialized.RubyArrayOneObject) has been create for key: cluster_uuids. This may result in invalid serialization.  It is recommended to log an issue to the responsible developer/development team.
[2019-12-18T00:14:32,829][INFO ][logstash.javapipeline    ] Starting pipeline {:pipeline_id=>"appd", "pipeline.workers"=>8, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>50, "pipeline.max_inflight"=>1000, :thread=>"#<Thread:0x5e56cac3 run>"}
[2019-12-18T00:14:32,869][INFO ][logstash.inputs.http_poller] Registering http_poller Input {:type=>nil, :schedule=>{"cron"=>"* * * * * UTC"}, :timeout=>nil}
[2019-12-18T00:14:32,892][INFO ][logstash.outputs.elasticsearch] Attempting to install template {:manage_template=>{"index_patterns"=>"logstash-*", "version"=>60001, "settings"=>{"index.refresh_interval"=>"5s", "number_of_shards"=>1}, "mappings"=>{"dynamic_templates"=>[{"message_field"=>{"path_match"=>"message", "match_mapping_type"=>"string", "mapping"=>{"type"=>"text", "norms"=>false}}}, {"string_fields"=>{"match"=>"*", "match_mapping_type"=>"string", "mapping"=>{"type"=>"text", "norms"=>false, "fields"=>{"keyword"=>{"type"=>"keyword", "ignore_above"=>256}}}}}], "properties"=>{"@timestamp"=>{"type"=>"date"}, "@version"=>{"type"=>"keyword"}, "geoip"=>{"dynamic"=>true, "properties"=>{"ip"=>{"type"=>"ip"}, "location"=>{"type"=>"geo_point"}, "latitude"=>{"type"=>"half_float"}, "longitude"=>{"type"=>"half_float"}}}}}}}
[2019-12-18T00:14:32,904][INFO ][logstash.javapipeline    ] Pipeline started {"pipeline.id"=>"appd"}
[2019-12-18T00:14:32,989][INFO ][logstash.agent           ] Pipelines running {:count=>1, :running_pipelines=>[:appd], :non_running_pipelines=>[]}
[2019-12-18T00:14:32,990][ERROR][org.logstash.Logstash    ] java.lang.NoClassDefFoundError: Could not initialize class org.logstash.config.ir.compiler.ComputeStepSyntaxElement
[2019-12-18T00:14:44,097][INFO ][logstash.runner          ] Starting Logstash {"logstash.version"=>"7.2.0"}

my logstash conf:

input {
  beats {
    port => 5044
    ssl  => false
  }
}
output {
  elasticsearch {
    hosts => ["myip:9200"]
    index => "pearsonlogsoasis"
}
        stdout { codec => rubydebug }
}

please help me out. im not sure what the cause is.

Thanks in advance!

Team,
Apologies for the reminder,
This is an issue im not able to find the reason for, Kindly help me out with the same.

thanks for your time :slight_smile:

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