Official Grafana documentation

Grafana adds the data source

  • HTTP

    • Access: The Access mode controls how requests to data sources are handled. Unless otherwise stated, the server should be preferred.

      Server access mode (default) : All requests are sent from the browser to the Grafana back end/server, which in turn forwards the request to the data source, avoiding possible cross-domain resource sharing (CORS) requirements. If you choose this access method, you need to be able to access the URL from the Grafana back end/server.

      Browser access pattern: All requests will be made directly from the browser to the data source and may be subject to cross-domain resource sharing (CORS) requirements. If you choose this access method, the URL needs to be accessible from the browser.

      Official warning: Browser access is not recommended and will be removed in a future release.

  • Details

  • Index name: indicates the Index name

  • Pattern: Select Daily

  • Time field name: Time field (note that the Time here is not a string format must be the Time format)

  • Version: Select the Version of ElasticSearch. This is important because queries are structured differently. Currently available versions are 2.x, 5.x, 5.6+, 6.0+ or 7.0+. The value 5.6+ indicates version 5.6 or higher, but lower than 6.0. The value 6.0+ indicates version 6.0 or later, but less than 7.0. Finally, 7.0+ means version 7.0 or higher, but less than 8.0.

  • Min time interval: specifies the lower limit of the automatic grouping interval. You are advised to set this parameter to write frequency. This value needs to be formatted as a number followed by a valid time identifier, such as 1m (1 minute) or 30s (30 seconds).