log_hits
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
log_hits [2016/08/02 18:49] – luke7858 | log_hits [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 52: | Line 52: | ||
</ | </ | ||
\\ | \\ | ||
- | == Finding Crawlers === | + | === Finding Crawlers === |
**Note:** You will need to change date range and make sure you run the very first LOG command on this page first. | **Note:** You will need to change date range and make sure you run the very first LOG command on this page first. | ||
<sxh bash> | <sxh bash> | ||
Line 58: | Line 58: | ||
</ | </ | ||
\\ | \\ | ||
- | == Accurate number of Apache requests per hour == | + | === Accurate number of Apache requests per hour === |
**Note:** Change date range and log file locationg | **Note:** Change date range and log file locationg | ||
<sxh bash> | <sxh bash> | ||
- | LC_ALL=C awk '/09\/Jun\/2016/ && $0 !~ / | + | LC_ALL=C awk '/02\/Aug\/2016/ && $0 !~ / |
</ | </ | ||
\\ | \\ | ||
- | == Log requests for Specific date/time range == | + | === Log requests for Specific date/time range === |
**Note:** Change date/time and log file location | **Note:** Change date/time and log file location | ||
<sxh bash> | <sxh bash> | ||
- | LC_ALL=C awk -F \" '/ | + | LC_ALL=C awk -F \" '/ |
</ | </ |
log_hits.1470163799.txt.gz · Last modified: 2024/05/23 07:26 (external edit)