Hi All, I'm trying to come up with automated process to present the data from 'system logs'. As an example I'm interested in system logs\audit\sites-usage.csv report.
I would like to either:
Does anyone know if it's possible? Can we refer those logs in a process model?
Thank You!
Discussion posts and replies are publicly visible
There is a plugin to read these logs.
Depending on your use case, processing the logs and trying to make something useful out of them can become quite tricky.
On a high-availability environment, each node writes its own logs and depending on where the log reading process is executed, it will read the local log only.
Thanks
I've just found this plugin (I think that's the one you're referring) - https://community.appian.com/b/appmarket/posts/log-reader
Function readcsvlog() works like a charm.
Use the "readCsvLog()" function with caution. Among other things, it (incorrectly) strips away quotes from lines that contain commas, making it nearly impossible to use (at least) for the design errors log. The newer "tail" function(s) fix this error, and read log files starting from the most recent lines instead of from the beginning, though in those functions pretty much all of the filtering options are broken. The plug-in doesn't seem to be under active maintenance. It's still usable of course, but with lots of bending-over-backwards depending on what you need out of it.