cancel
Showing results for 
Search instead for 
Did you mean: 

Access log files through webscript

sakshik
Star Contributor
Star Contributor

I grep localhost_access_log2018-*-* file for some usage data in ALF_HOME/tomcat/logs in unix. I want to have a webscript do this so that I do not have to log in to unix account. Is there any way this file can be accessed in a webscript(.js file).

Thanks.

1 REPLY 1

cesarista
World-Class Innovator
World-Class Innovator

Hi:

A way of inspecting, accessing and querying this log data, without accessing server account, may be like this:

Monitoring Alfresco access logs - Analyzing Tomcat log access data with Docker ELK resources - zylk 

Not really in a webscript.

Regards.

--C.