Which SQL script did you run? If it was from the original post, I don't think it creates a "Logs" table. Can you confirm? If it did not create a "logs" table, can you create a table with the following columns?
I don't think you need to do anything special to enable websocket (for logs). On the Node-RED side, try importing this flow:
[{"id":"7a12636a.8b7024","type":"comment","z":"7b994e31.f24a6","name":"Hubitat Log","info":"2021-05-30: Created","x":174.3332977294922,"y":2063.999755859375,"wires":[]},{"id":"36966e59.07b402","type":"websocket in","z":"7b994e31.f24a6","name":"Hubitat Log Socket","server":"96044230.8127a","client":"","x":197.6666259765625,"y":2119.333251953125,"wires":[["57aaa540.2a5b84","9fdfa8df.0fde48"]]},{"id":"57aaa540.2a5b84","type":"function","z":"7b994e31.f24a6","name":"Log SQL","func":"//Fix for SQL insert errors on HPM name\nif(msg.id == 133){\n msg.name = 'Hubitat Package Manager'\n}\n\nvar sqlString = 'INSERT INTO LOGS (NAME,MSG,ID,TIME,TYPE, LEVEL)VALUE ('\nvar quote = \"'\"\nvar comma = \",\"\nsqlString +=quote+msg.name+quote+comma\nsqlString +=quote+msg.msg+quote+comma\nsqlString +=msg.id+comma\nsqlString +=quote+msg.time+quote+comma\nsqlString +=quote+msg.type+quote+comma\nsqlString +=quote+msg.level+quote+\")\"\n\n//sqlString = sqlString+quote+msg.name+quote+comma+quote+msg.msg+quote+\",\"+msg.id+\",\"+msg.time+\",\"+msg.type+\",\"+msg.level+\")\"\nmsg.topic = sqlString\nreturn msg;\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":431.99993896484375,"y":2119.333381652832,"wires":[["c0a6c5c4.10901"]]},{"id":"9fdfa8df.0fde48","type":"switch","z":"7b994e31.f24a6","name":"Not Info, Debug or Warn","property":"level in [\"info\",\"debug\",\"warn\"]","propertyType":"jsonata","rules":[{"t":"false"}],"checkall":"true","repair":false,"outputs":1,"x":482.33331298828125,"y":2181,"wires":[["97cb985e.2d933"]]},{"id":"c0a6c5c4.10901","type":"mysql","z":"7b994e31.f24a6","mydb":"2d73f9f7.c404d6","name":"Create Log DB Entry","x":972.6666564941406,"y":2119.66650390625,"wires":[[]]},{"id":"96044230.8127a","type":"websocket-listener","path":"ws://192.168.1.113/logsocket","wholemsg":"true"},{"id":"2d73f9f7.c404d6","type":"MySQLdatabase","name":"Hubitat_Event_Prod","host":"192.168.1.86","port":"3306","db":"hubitat_logging","tz":"","charset":""}]
It should create the websocket config (you will need to modify the IP address to that of your HE hub) as well the the mySQL database config (again, you will need to modify to your setup).
If the websocket config does not come over, the format is:
The flow above is through the node that filters out 'warn, info, debug" - I have not included the nodes that create the email/SMS since I am not sure what you will be using (I use the gmail node in NR).
Feel free to PM me if you have any questions. Hope this helps