{
  "data_view": {
    "id": "{{ id }}",
    "name": "{{ name }}",
    "title": "{{ index }}",
    "namespaces": [
    {% for space in spaces %}
        "{{ space }}"{% if not loop.last %},{% endif %}
    {% endfor %}
    ],
    "timeFieldName": "@timestamp"
  }
}
