Elastic based telegraf metrics dashboard
Last updated: 3 years ago

Downloads: 1480

Reviews: 0

  • dashboard.png

Displays a Grafana dashboard of Telegraf collected metrics stored in Elastic

Collector Configuration Details

Configuration for Elasticsearch to send metrics to.

  1. Edit /etc/telegraf/telegraf.conf
   urls = [ "http://your.elastic.server:9200" ] # required.
   timeout = "5s"
   enable_sniffer = false
   health_check_interval = "10s"
   index_name = "telegraf-%Y.%m.%d" # required.
   manage_template = true
   template_name = "telegraf"
   overwrite_template = false
  1. You must also enable metrics indexing, set your current template configuration for the 'telegraf' index by copying the JSON from the following URL:

  2. change every "index: false" to "index: true"

  3. Update your current template to reflect those changes

curl -XPUT 'http://your.elastic.server:9200/_template/telegraf' -d template.json -H 'Content-Type: application/json'