Skip to content

Fix 8.0 testing due to dropping of document types #127

@jsvd

Description

@jsvd

Currently two integration tests against ES 8.0.0 SNAPSHOT fail:

1) LogStash::Filters::Elasticsearch should enhance the current event with new data
   Failure/Error: es.index(params)

   Elasticsearch::Transport::Transport::Errors::BadRequest:
     [400] {"error":"no handler found for uri [/logs/doc] and method [POST]"}
   # ./spec/es_helper.rb:27:in `index_doc'
   # ./spec/filters/integration/elasticsearch_spec.rb:30:in `block in <main>'
   # ./spec/filters/integration/elasticsearch_spec.rb:29:in `block in <main>'

2) LogStash::Filters::Elasticsearch when retrieving a list of elements should enhance the current event with new data
   Failure/Error: es.index(params)

   Elasticsearch::Transport::Transport::Errors::BadRequest:
     [400] {"error":"no handler found for uri [/logs/doc] and method [POST]"}
   # ./spec/es_helper.rb:27:in `index_doc'
   # ./spec/filters/integration/elasticsearch_spec.rb:30:in `block in /usr/share/plugins/plugin/spec/filters/integration/elasticsearch_spec.rb'
   # ./spec/filters/integration/elasticsearch_spec.rb:29:in `block in /usr/share/plugins/plugin/spec/filters/integration/elasticsearch_spec.rb'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions