apiVersion: 1

datasources:
  - name: DS_ELASTICSEARCH
    type: elasticsearch
    access: proxy
    url: http://localhost:9200
    password: '{{ key "secrets/telemetry/elastic_passwords/elastic" }}'
    user: 'elastic'
    database: metrics-*
    basicAuth: false
    isDefault: true
    jsonData:
      esVersion: "8.2.0"
      includeFrozen: false
      logLevelField: ''
      logMessageField: ''
      maxConcurrentShardRequests: 5
      timeField: "@timestamp"
      timeInterval: "5s"
    readOnly: false