Please format your code using </>
icon as explained in this guide. It will make your post more readable.
Or use markdown style like:
```
CODE
```
I edited your post.
You index template is not complete I think. Could you share the full one please?
I think your logstash config is wrong. Could you share the real one please?