Send openshift metricbeat to remote elasticsearch's custom index

Can anyone tell me how to send the metricbeat data from from openshift to remote elasticsearch custom index?

In regular metricbeat yaml file, we have these config:

setup.template.enabled: true
setup.template.name: "metricbeat-openshift-clusterName-%{[agent.version]}-"
setup.template.pattern: "metricbeat-openshift-clusterName-%{[agent.version]}-
"

do we have same config settings in metricbeat installed in openshift?