Provisioning of Elasticsearch data source

Can anyone provide an example of provisioning an Elasticsearch datasource? I understand the datasource-specific details are mapped to the json section in the provisioning file, but I haven’t found any documentation on how to map the fields from the datasource plugin UI to the yaml properties. Thanks in advance

http://docs.grafana.org/features/datasources/elasticsearch/#configure-the-datasource-with-provisioning