summaryrefslogtreecommitdiff
path: root/modules/telegraf/templates/advanced_ETL.toml
blob: 217fb8f31ebb50e1540356d6b97e18ce2603dd9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Telegraf Configuration
[agent]
  interval = "10s" # Fetch data every 10 seconds
  debug = true

#INPUT: fetching data from delta api
[[inputs.http]]
  urls = []
  method = "GET"
  timeout = "5s"
  headers = { Content-Type = "application/json" }
  data_format = "json"
  
  # Authentication
  username = "rasmus.luha"
  password = "Placeholder"

  # Response format
  #data_format = "json"

  # Specify JSON field
  json_query = "placeholder"  
  json_string_fields = []

  name_override = "Placeholder"  #"weather_metrics"


# OUTPUT: Write data to InfluxDB
[[outputs.influxdb]]
  urls = ["http://influxdb:8086"]
  database = "placeholder "#"telegraf_deltaEnergy"
  username = "TODO"
  password = "TODO"