这是indexloc提供的服务,不要输入任何密码
Skip to content

Cannot create template and push new data in Elasticsearch 7.6.0 #2

@hyres88

Description

@hyres88

Hello @hobbyquaker Thank you for your module it's really help me.

The code need to update because after ElasticSearch version 7.x they remove mapping types.

So for pm2-elasticsearch-logger can work normally we need to

  1. Make mapping type to "_doc" because cannot support custom mapping type
  2. Update function createMapping because cannot create mapping for custom mapping type.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions