Apache Logging Lab - kerryallen89/SYS-255-01 GitHub Wiki
Apache Logging
Deliverables for Lab
Deliverable 1. Provide a similar screenshot to the one below:
This screenshot shows me logging into web01-kerry via Powershell and listing all the files within "/var/log/httpd". What shows up is the access_log and error_log. After discovering that, I entered the command "tail -n 3 /var/log/httpd/access_log". The tail command prints out data from the end of a specified file or in this case 3 files to a standard output. These files included GET data for those who accessed the web01-kerry website.
The first file shows the GET data of me accessing "HTTP://web01-kerry/?test=1". The second file shows the GET data of me accessing "HTTP://web01-kerry/totallyexists.html". The first file includes the "200" status message which means that the website worked and I could access the data. For the second file, the status code "400" means that the file doesn't exist.
Deliverable 2. Research the Apache Logging Format. For each of YOUR log entries that reflect the first successful (?test) and then an unsuccessful URL (totallyexist.html) attempt, fill out a table similar to the one below.
This screenshot shows an Apache Logging Table that I created to show what is inside both GET data logs. You could go more in-depth with this but I identified the parts of each GET data file.