Common fields across indicies

I have a bunch of different indices but every index has a couple common fields stating where the documents came from: appName, nodeName, etc. The rest of the fields in each index are completely different.

Is there a way to design a single index template that assigns the same mappings to these common fields? Rather than having to create a different template per index type.

You can do this. Do the index names match at all (ie start with the same thing)?