AnsweredAssumed Answered

LUA scripting question

Question asked by rod.cook on May 10, 2017
Latest reply on May 15, 2017 by rod.cook

We are attempting to create a LUA script to enter data into custom_4 in the NAS pre-processing section.  The end result is that we want custom_4 = custom_3 hostname subsystem.  Those three items.  Custom_3 is created in a alarm_enrichment rule.  We attempted to fill custom_4 with an alarm_enrichment, but since the alarm hasn't been put into a database the subsystem value was coming out incorrectly some of the time.  We got random data for subsystem.


So that left us to create a LUA script.  Can anyone help us with the syntax we would need?