Script Rules

Script rules allow you to create scripts to manipulate the data. Uvuyo provides you with a powerful scripting language giving you structural features like if-then-else or loops. For more information about the uvuyo scripting language see Uvuyo Scripting Language.


version: 1
- name: LogEvent
  type: Script
  script: |
    // write event to log file in json format ..."id: " + _id);"node id: " + uv.node.nodeId);"group id: " + uv.node.groupId);"raw event: " + Util.json(event));"rule: " +;"mode: " + mode);"module: " + uv.module.source);"endpoint: " +;"abc\ndef1");

Powered by BetterDocs

Nach oben