Skip to content

[BUG] Missing Templates for opensearch 3 and ecs v9 #278

@ccottam

Description

@ccottam

Describe the bug
Missing Templates for opensearch 3 and ecs v9

To Reproduce
Start Logstash connected to an opensearch 3 cluster and you get an error message like this.

message":"Failed to install template","message_1":"Failed to load default template for OpenSearch v3 with ECS disabled; caused by: #<ArgumentError: Template file '/usr/share/logstash/vendor/bundle/jruby/3.1.0/gems/logstash-output-opensearch-2.0.3-java/lib/logstash/outputs/opensearch/templates/ecs-disabled/3x.json' could not be found>"

Expected behavior
There should be a opensearch 3 ecs enabled and disabled template available to be loaded by logstash into opensearch.

Plugins
logstash-output-opensearch

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: Docker images running on Linux
  • Version: Debian 12, Logstash 9.0.3

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions