default: true
input:
  module: aws
  metricset: cloudwatch
  defaults:
    metrics:
      - namespace: AWS/ELB
        statistic: ["Sum"]
        name: ["BackendConnectionErrors", "HTTPCode_Backend_2XX", "HTTPCode_Backend_3XX", "HTTPCode_Backend_4XX", "HTTPCode_Backend_5XX", "HTTPCode_ELB_4XX", "HTTPCode_ELB_5XX", "RequestCount", "SpilloverCount"]
        tags.resource_type_filter: elasticloadbalancing
      - namespace: AWS/ELB
        statistic: ["Maximum"]
        name: ["HealthyHostCount", "SurgeQueueLength", "UnHealthyHostCount"]
        tags.resource_type_filter: elasticloadbalancing
      - namespace: AWS/ELB
        statistic: ["Average"]
        name: ["Latency", "EstimatedALBActiveConnectionCount", "EstimatedALBConsumedLCUs", "EstimatedALBNewConnectionCount", "EstimatedProcessedBytes"]
        tags.resource_type_filter: elasticloadbalancing
      - namespace: AWS/ApplicationELB
        statistic: ["Sum"]
        name: ["ActiveConnectionCount", "ClientTLSNegotiationErrorCount", "HTTP_Fixed_Response_Count",
               "HTTP_Redirect_Count", "HTTP_Redirect_Url_Limit_Exceeded_Count",
               "HTTPCode_ELB_3XX_Count", "HTTPCode_ELB_4XX_Count", "HTTPCode_ELB_5XX_Count",
               "HTTPCode_ELB_500_Count", "HTTPCode_ELB_502_Count", "HTTPCode_ELB_503_Count",
               "HTTPCode_ELB_504_Count", "IPv6ProcessedBytes", "IPv6RequestCount",
               "NewConnectionCount", "ProcessedBytes", "RejectedConnectionCount",
               "RequestCount", "RuleEvaluations"]
        tags.resource_type_filter: elasticloadbalancing
      - namespace: AWS/ApplicationELB
        statistic: ["Average"]
        name: ["ConsumedLCUs"]
        tags.resource_type_filter: elasticloadbalancing
      - namespace: AWS/NetworkELB
        statistic: ["Average"]
        name: ["ActiveFlowCount", "ActiveFlowCount_TLS", "ConsumedLCUs"]
        tags.resource_type_filter: elasticloadbalancing
      - namespace: AWS/NetworkELB
        statistic: ["Sum"]
        name: ["ClientTLSNegotiationErrorCount", "NewFlowCount", "NewFlowCount_TLS",
               "ProcessedBytes", "ProcessedBytes_TLS", "TargetTLSNegotiationErrorCount",
               "TCP_Client_Reset_Count", "TCP_ELB_Reset_Count", "TCP_Target_Reset_Count"]
        tags.resource_type_filter: elasticloadbalancing
      - namespace: AWS/NetworkELB
        statistic: ["Maximum"]
        name: ["HealthyHostCount", "UnHealthyHostCount"]
        tags.resource_type_filter: elasticloadbalancing
