Mapping index template


(DharaniKumar) #1

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...!!!


(Mark Walkom) #2

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.


(DharaniKumar) #3

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
}


(DharaniKumar) #4

Why it is dangerous warkolm?


(DharaniKumar) #5

different types in index ???????


(Mark Walkom) #6

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


(DharaniKumar) #7

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.


(system) #8

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