Difference between revisions of "UM:Data Collection"

1 byte removed ,  21:01, 3 January 2015
Line 470: Line 470:
You can optionally filter out unneeded instances and transform instance names using filtering script written in NXSL. Script will be called for each instance and can return TRUE (to accept instance), or FALSE (to reject instance).<br><br>
You can optionally filter out unneeded instances and transform instance names using filtering script written in NXSL. Script will be called for each instance and can return TRUE (to accept instance), or FALSE (to reject instance).<br><br>
If you wish to change the instance-name, instead of TRUE, you can return an array of three elements - first is TRUE, 2nd is {instance} value, and 3rd is the new value for {instance-name}.<br>
If you wish to change the instance-name, instead of TRUE, you can return an array of three elements - first is TRUE, 2nd is {instance} value, and 3rd is the new value for {instance-name}.<br>
Example: %(true, "1", "name")
Example: %(true, $1, "name")


= Working with collected data =
= Working with collected data =
184

edits