Access log files through webscript

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
sakshik
Established Member

Access log files through webscript

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
cesarista
Advanced

Re: Access log files through webscript

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.