Problem in Templates for Indices Named other than logstash-*

Is there any other way that I can mention my index in the template

Continuing the discussion from Kibana visualizations splitting fields with dashes in them with index name other than logstash-*:

It'd be better if you could answer things in the other thread.