Monitor Amazon Web Services (AWS)

    The AWS CloudWatch Monitoring template includes the following:

    • two dashboards:
      • AWS CloudWatch NLB (Network Load Balancers) Monitoring: Displays data from the
      • AWS CloudWatch Instance Monitoring: Displays data from the cloudwatch_aws_ec2 measurement
    • two : kubernetes and cloudwatch
    • two labels: inputs.cloudwatch, AWS
    • one variable: v.bucket
    1. Use the influx CLI to run the following command:

    2. on a server with network access to both the CloudWatch API and InfluxDB v2 API.

    3. In your Telegraf configuration file (telegraf.conf), find the following example output plugins, and then replace the urls to specify the servers to monitor:

      1. ## k8s
      2. [[outputs.influxdb_v2]]
      3. urls = ["http://influxdb.monitoring:8086"]
      4. organization = "InfluxData"
      5. bucket = "kubernetes"
      6. ## cloudv2 sample
      7. [[outputs.influxdb_v2]]
      8. urls = ["$INFLUX_HOST"]
      9. token = "$INFLUX_TOKEN"
      10. organization = "$INFLUX_ORG"
      11. bucket = cloudwatch"

    View the incoming data