Mapping index template

I need to map my filebeat index template in kibana.
https://pastebin.com/raw/7fmbBfTc
This is my index and i need to put it into kibana.
When i used PUT /_template/filebeat command it throws validation exception, template is missing error.
If anyone know about this issue you are welcomed to help...!!!

Please post the entire error.

total_fields": {
"limit": "10000"
}

That is very dangerous, why is it so large?

You should also look to split out the different types in your index.

This is the error i got when i used PUT _template/filebeat:
{
"error": {
"root_cause": [
{
"type": "action_request_validation_exception",
"reason": "Validation Failed: 1: template is missing;"
}
],
"type": "action_request_validation_exception",
"reason": "Validation Failed: 1: template is missing;"
},
"status": 400
}

Why it is dangerous warkolm?

different types in index ???????

You can ignore that point, I didn't realise that was the actual template we provided.

what is the solution for that error?
Even i loaded my template once again and tried putting my mapping into template it showing this error.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.