Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 569 Bytes

README.md

File metadata and controls

31 lines (27 loc) · 569 Bytes

EMQX Log Action Plugin

A simple log action for EMQX Rule Engine.

To use:

  • Build the plugin
make rel
rule_engine {
  rules {
    "rule_21y9" {
      actions = [
        {
          args {level = "warning"}
          function = "emqx_log_action:log"
        }
      ]
      description = ""
      enable = true
      sql = "SELECT\n  *\nFROM\n  \"t/#\""
    }
  }
}