The NetSuite script execution log is only 30days. ...
# suitescript
e
The NetSuite script execution log is only 30days. Is there anyway I can extend it and make it save the log for longer?
s
log to an external service
e
Ahh. thats a good idea. Would I do that from the Restlet, or can i plug on into NS somewhere?
s
I would recommend running a background log harvesting script
e
Cool. I have not worked with NetSuite that long 🙂 Could I have a script trigger on events and then log ?
s
with NFT you can trivially log to multiple sinks in real time, but I still recommend the background approach for performance if you don't absolutely need real-time
e
Thanks. I will do some research 👍
s
so that's scheduled or mapreduce script that runs a search on the server script log, then does an http request to your favorite logging provider. Last time I reviewed this I was fond of logz.io
🙏 1
r
You can simply create one custom record and one scheduled/ Map-Reduce script. And have the custom record store the logs.
s
that would make me cry a little.