Telastic

Dashboard

Elastic based telegraf metrics dashboard
Last updated: a year ago

Downloads: 1260

  • dashboard.png
    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
 [[outputs.elasticsearch]]
   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: https://github.com/influxdata/telegraf/tree/master/plugins/outputs/elasticsearch#template-management

  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'