Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connector ignores mapping settings #132

Open
Arbuzov opened this issue Apr 4, 2020 · 0 comments
Open

Connector ignores mapping settings #132

Arbuzov opened this issue Apr 4, 2020 · 0 comments

Comments

@Arbuzov
Copy link

Arbuzov commented Apr 4, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant