Skip to content

Connector ignores mapping settings #132

@Arbuzov

Description

@Arbuzov

My data source definition

{ "name": "Elasticsearch", "connector": "esv6", "version": 7, "index": ".kibana", "configuration": { "node": "http://elasticsearch:9200", "requestTimeout": 30000, "pingTimeout": 3000 }, "defaultSize": "100", "mappingProperties": { "type": { "type": "keyword" }, "docType": { "type": "alias", "path": "type" } } }

Meantime during the boot.

Try http://[::1]:3000/ping elasticsearch Nothing to resurrect +1s elasticsearch Serializing { properties: { type: { type: 'keyword' }, docType: { type: 'keyword', index: true } } } +1s elasticsearch qserialize {} +2ms elasticsearch Starting a new request { method: 'PUT', path: '/.kibana/_mapping', body: '{"properties":{"type":{"type":"keyword"},"docType":{"type":"keyword","index":true}}}', querystring: '', headers: { 'User-Agent': 'elasticsearch-js/7.6.1 (win32 10.0.18363-x64; Node.js v12.0.0)', 'Content-Type': 'application/json', 'Content-Length': '84' }, timeout: 30000 } +1s elasticsearch Deserializing {"error":{"root_cause":[{"type":"remote_transport_exception","reason":"[central-nms-2][172.18.0.2:9300][indices:admin/mapping/put]"}],"type":"illegal_argument_exception","reason":"Cannot merge a field alias mapping [docType] with a mapping that is not for a field alias."},"status":400} +145ms

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