Skip to main content
andrzejh
September 1, 2022
Question

Read System Logs in Process Model / Dashboard on Appian Cloud

  • September 1, 2022
  • 3 replies
  • 0 views

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:

  1. Create Dashboard/Report to present the data directly from that log
  2. Create a Process Model that will get the data from the report and insert it into Data Store Entity

Does anyone know if it's possible? Can we refer those logs in a process model?

Thank You!

3 replies

stefanhelzle0001
September 1, 2022

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.

andrzejh
andrzejhAuthor
September 1, 2022

Thanks [mention:126a676c85024855948336691b0a7b92:e9ed411860ed4f2ba0265705b8793d05]

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.

mikes0011
Brainy
September 1, 2022

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.