Help with Node-red code/system

Job ID: 32904311

Budget: $10 – $30 AUD

I have adapted a Node-Red application which I'm using. Its working and logging info from my LFP battery and BMS system. Its via MQTT to my node-red running on an AWS Lighstail Node.js instance.

I'm trying to update the code that logs a daily stats line to include the temp but cant get that working
I've successfully updated the code that logs every 30 secs to include the temp (to a separate file).

Additionally I'd like some advice on how to protect my AWS instance better, and verify its not log4j vulnerable.

I imagine this is less than 30mins work for someone familiar in this environment. I'll post the code samples and exchange a few emails or chat msgs, and perhaps a quick voice call. I'll need someone with good english written and speaking skills.
Related categories: Amazon Web Services Node.js MQTT