getting processID from logfile entries

3 posts / 0 new
Last post
#1 Sun, 11/02/2014 - 11:55
edwardsmarkf

getting processID from logfile entries

hello all - i have noticed that anything i can imagine using virtualmin, somebody has created an option for it.

is there any way i can get the processID from looking at a logfile entry? right now i see:

1) IP## 2) date 3) GET/PUT 4) apache number 200 5) request size 6) page name 7) http stuff

in other words, is there a way to take this: marksDomain.com_access_log:107.170.191.218 - - [02/Nov/2014:12:16:02 -0500] "GET /robots.txt HTTP/1.1" 404 208 "-" "Mozilla/5.0 (compatible; spbot/4.3.0; +http://OpenLinkProfiler.org/bot )" and determine which php-cgi wrote this entry?

i am hoping there is an option to add the processID in the log files.

Sun, 11/02/2014 - 14:44
edwardsmarkf

-

Sun, 11/02/2014 - 15:34
edwardsmarkf

i am trying to determine what IP# is accessing /usr/bin/php-cgi

any ideas ? the php-cgi entries dont seem to be showing up in the virtualmin log files.

note: all my VS's are set up like "CGI wrapper (run as virtual server owner)"

Topic locked