Skip to content

Missing (ECS) schema for ES 8.0 #1022

Closed
@kares

Description

@kares

Logstash snapshot 8.0.0-SNAPSHOT with ES snapshot 8.0.0-SNAPSHOT fails to start.

Since elastic/logstash#12830 LS enabled ecs_compatibility => v1 default for 8.0 (SNAPSHOT).
When running against (unreleased) ES 8.0 loading the plugin fails due a missing schema file for version 8, leading to a:

[logstash.outputs.elasticsearch][main] Failed to install template {:message=>"Failed to load default template for Elasticsearch v8 with ECS v1; caused by: #<ArgumentError: Template file '/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-11.0.2-java/lib/logstash/outputs/elasticsearch/templates/ecs-v1/elasticsearch-8x.json' could not be found>", :exception=>RuntimeError, :backtrace=>

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions