Tried using the Log Reader Plugin but it does not read logs from all servers.
Any suggestion is appreciated.
Thanks
Discussion posts and replies are publicly visible
AFAIK, there is no solution using this plugin.
In the distant past I believe I was able to cook up a brute force approach that read the log file from several process instances launched in such a way that they'd be launched on random app servers, and compared all results to each other. I figured that if I launched enough instances (n^2 perhaps) then I was realistically guaranteed to have hit all of them. Of course, the project I did this on is long in my past, and I haven't messed with it recently, so I can't really speak to whether this method would still realistically work.
One idea is to leverage other technology. If you are on Appian cloud, you could stream the logs to a tool like SPLUNK to be ingested, consolidated, and presented. If you are self-hosting, you could set this up as well.
I am facing same issue.
do you have any idea how to resolve this ?
Hi Yogesh,
The original Q&A is a little vague; if you have multiple application servers in a single Appian instance then I'm not sure that I have an answer that's any better than what's above.
If you're in a High Availability config or other distributed topology, we've found a way to do that. It's fairly simple:
HI Jesse Knight
Its working fine now.
able to fetch logs from all the servers.
Thank you
Jesse Knight , I would love to use this plugin to get the user audit logs, but I have not been able to figure out how to add the server name to get the function to read the logs. Any help would be most appreciated.
I tried using:
readcsvlog( csvPath: concat(<servername>,"/","login-audit.csv"))
and it returns totalcount: -1
Jesse Knight , found that the logs are in different folders on the prod server vs the dev server. Was able to see it read the logs on the prod server with your concat(). The login-audit.csv doesn't have headers, but there doesn't see to be a way to tell the function no header.