Lua script run in a rule

I have a Lua script running with a rule. The Lua script has a print statement to print out some texts. I run the Suricata in USER mode. But, I do not see the print out. I am wondering where is the print out?

You can use the SCLogNotice() function to print Suricata log messages from Lua. IIRC just print() won’t end up in the log.

1 Like

Thanks for the info. Will give a try. Thanks again.