We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
{"type":"log","@timestamp":"2021-03-30T08:07:48Z","tags":["error","Sentinl","init"],"pid":75803,"message":"start: Error: init indices: Error: create index: [mapper_parsing_exception] Root mapping definition has unsupported parameters: [sentinl-alarm : {properties={watcher={type=text}, @timestamp={type=date}, attachment={type=binary}, payload={dynamic=true, type=object}, level={type=text}, report={type=boolean}, action={type=text}, error={type=boolean}, message={type=text}}}] :: {"path":"/_template/sentinl_watcher_alarms","query":{},"body":"{\"index_patterns\":\"watcher_alarms*\",\"mappings\":{\"sentinl-alarm\":{\"properties\":{\"payload\":{\"type\":\"object\",\"dynamic\":\"true\"},\"attachment\":{\"type\":\"binary\"},\"error\":{\"type\":\"boolean\"},\"report\":{\"type\":\"boolean\"},\"watcher\":{\"type\":\"text\"},\"action\":{\"type\":\"text\"},\"level\":{\"type\":\"text\"},\"message\":{\"type\":\"text\"},\"@timestamp\":{\"type\":\"date\"}}}},\"settings\":{\"index\":{\"lifecycle\":{\"name\":\"watcher-alarms\",\"rollover_alias\":\"watcher_alarms\"}}}}","statusCode":400,"response":"{\"error\":{\"root_cause\":[{\"type\":\"mapper_parsing_exception\",\"reason\":\"Root mapping definition has unsupported parameters: [sentinl-alarm : {properties={watcher={type=text}, @timestamp={type=date}, attachment={type=binary}, payload={dynamic=true, type=object}, level={type=text}, report={type=boolean}, action={type=text}, error={type=boolean}, message={type=text}}}]\"}],\"type\":\"mapper_parsing_exception\",\"reason\":\"Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters: [sentinl-alarm : {properties={watcher={type=text}, @timestamp={type=date}, attachment={type=binary}, payload={dynamic=true, type=object}, level={type=text}, report={type=boolean}, action={type=text}, error={type=boolean}, message={type=text}}}]\",\"caused_by\":{\"type\":\"mapper_parsing_exception\",\"reason\":\"Root mapping definition has unsupported parameters: [sentinl-alarm : {properties={watcher={type=text}, @timestamp={type=date}, attachment={type=binary}, payload={dynamic=true, type=object}, level={type=text}, report={type=boolean}, action={type=text}, error={type=boolean}, message={type=text}}}]\"}},\"status\":400}"}"}
sentinl to create index is faild,because old 6.x mappings can‘t PUT in ES 7.x Hope to edit it Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
{"type":"log","@timestamp":"2021-03-30T08:07:48Z","tags":["error","Sentinl","init"],"pid":75803,"message":"start: Error: init indices: Error: create index: [mapper_parsing_exception] Root mapping definition has unsupported parameters: [sentinl-alarm : {properties={watcher={type=text}, @timestamp={type=date}, attachment={type=binary}, payload={dynamic=true, type=object}, level={type=text}, report={type=boolean}, action={type=text}, error={type=boolean}, message={type=text}}}] :: {"path":"/_template/sentinl_watcher_alarms","query":{},"body":"{\"index_patterns\":\"watcher_alarms*\",\"mappings\":{\"sentinl-alarm\":{\"properties\":{\"payload\":{\"type\":\"object\",\"dynamic\":\"true\"},\"attachment\":{\"type\":\"binary\"},\"error\":{\"type\":\"boolean\"},\"report\":{\"type\":\"boolean\"},\"watcher\":{\"type\":\"text\"},\"action\":{\"type\":\"text\"},\"level\":{\"type\":\"text\"},\"message\":{\"type\":\"text\"},\"@timestamp\":{\"type\":\"date\"}}}},\"settings\":{\"index\":{\"lifecycle\":{\"name\":\"watcher-alarms\",\"rollover_alias\":\"watcher_alarms\"}}}}","statusCode":400,"response":"{\"error\":{\"root_cause\":[{\"type\":\"mapper_parsing_exception\",\"reason\":\"Root mapping definition has unsupported parameters: [sentinl-alarm : {properties={watcher={type=text}, @timestamp={type=date}, attachment={type=binary}, payload={dynamic=true, type=object}, level={type=text}, report={type=boolean}, action={type=text}, error={type=boolean}, message={type=text}}}]\"}],\"type\":\"mapper_parsing_exception\",\"reason\":\"Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters: [sentinl-alarm : {properties={watcher={type=text}, @timestamp={type=date}, attachment={type=binary}, payload={dynamic=true, type=object}, level={type=text}, report={type=boolean}, action={type=text}, error={type=boolean}, message={type=text}}}]\",\"caused_by\":{\"type\":\"mapper_parsing_exception\",\"reason\":\"Root mapping definition has unsupported parameters: [sentinl-alarm : {properties={watcher={type=text}, @timestamp={type=date}, attachment={type=binary}, payload={dynamic=true, type=object}, level={type=text}, report={type=boolean}, action={type=text}, error={type=boolean}, message={type=text}}}]\"}},\"status\":400}"}"}
sentinl to create index is faild,because old 6.x mappings can‘t PUT in ES 7.x
Hope to edit it
Thanks
The text was updated successfully, but these errors were encountered: