test: add rule to influx-bridge.conf and add newlines
This commit is contained in:
parent
7603ab490b
commit
21e933e9bb
|
@ -91,4 +91,4 @@ authorization {
|
||||||
}
|
}
|
||||||
|
|
||||||
include emqx-enterprise.conf
|
include emqx-enterprise.conf
|
||||||
include influx-bridge.conf
|
include influx-bridge.conf
|
||||||
|
|
|
@ -22,11 +22,11 @@ bridges {
|
||||||
ssl {
|
ssl {
|
||||||
ciphers = []
|
ciphers = []
|
||||||
depth = 10
|
depth = 10
|
||||||
enable = false
|
enable = true
|
||||||
reuse_sessions = true
|
reuse_sessions = true
|
||||||
secure_renegotiate = true
|
secure_renegotiate = true
|
||||||
user_lookup_fun = "emqx_tls_psk:lookup"
|
user_lookup_fun = "emqx_tls_psk:lookup"
|
||||||
verify = "verify_peer"
|
verify = "verify_none"
|
||||||
versions = ["tlsv1.3", "tlsv1.2", "tlsv1.1", "tlsv1"]
|
versions = ["tlsv1.3", "tlsv1.2", "tlsv1.1", "tlsv1"]
|
||||||
}
|
}
|
||||||
token = "abcdefg"
|
token = "abcdefg"
|
||||||
|
@ -43,4 +43,17 @@ log {
|
||||||
level = "warning"
|
level = "warning"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
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/#\""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue