If you share code, please format it properly using ```
Your Redis request returns the data in a callback function, so that part runs asynchronously and gets executed after your log output. You need to send the data inside your callback function using node.send(msg). Have a look at the docs under "Sending messages asynchronously".
I would consider using one of the existing Redis nodes found here. That makes it a lot easier than doing this in a function node.
NOTE: I would recommend this one, I have been using it myself for some time now.