How can I change "winlogbeat" name in "template.name"?

Thank you.
I don't need to rename any file. I just used index: "logs-%{+yyyy.MM.dd}" in config file and it is OK.
Why I just change template value inside of the winlogbeat.template.json file?