bridges {
  "influxdb_api_v2" {
    test {
      bucket = "mqtt"
      enable = true
      org = "emqx"
      precision = "ms"
      resource_opts {
        inflight_window = 100
        batch_size = 100
        batch_time = "10ms"
        health_check_interval = "15s"
        max_buffer_bytes = "1GB"
        query_mode = "sync"
        request_ttl = "15s"
        start_after_created = "true"
        start_timeout = "5s"
        worker_pool_size = 4
      }
      server = "influxdb.emqx.influx.io:8086"
      ssl {
        ciphers = []
        depth = 10
        enable = true
        reuse_sessions = true
        secure_renegotiate = true
        user_lookup_fun = "emqx_tls_psk:lookup"
        verify = "verify_none"
        versions = ["tlsv1.3", "tlsv1.2", "tlsv1.1", "tlsv1"]
      }
      token = "abcdefg"
      write_syntax = "myvalues,clientid=${clientid} value=${payload.value}i"
    }
  }
}
rule_engine {
  ignore_sys_message = true
  jq_function_default_timeout = "10s"
  jq_implementation_module = "jq_nif"
  rules {
    "rule_o75y" {
      actions = ["influxdb_api_v2:test"]
      description = ""
      metadata {created_at = 1674565304418}
      sql = "SELECT\n  *\nFROM\n  \"t/#\""
    }
  }
}
