Skip to content

DevOps NY

Figuring things out, to get it done!

Tag: logs

Posted on May 2, 2013May 2, 2013

Apache logfile fun

I recently found out about this:

https://code.google.com/p/logstalgia/

an interesting program to visually display apache traffic in real time.

It reminds me of glTail:

http://www.fudgie.org/

another cool “toy”.

Share this:

  • Click to email a link to a friend (Opens in new window) Email
  • Tweet
  • Click to share on Reddit (Opens in new window) Reddit
  • More

Like this:

Like Loading...
Posted on May 2, 2011March 4, 2013

Analyzing Apache Log Files

List Client IP and Count Hits

awk -F'[ “]+’ ‘$7 == “/” { ipcount[$1]++ } END { for (i in ipcount) { printf “%15s – %d\n”, i, ipcount[i] } }’ access.log

 

List Client IP and RDNS

cat access.log | awk ‘{print $1}’ | logresolve

Share this:

  • Click to email a link to a friend (Opens in new window) Email
  • Tweet
  • Click to share on Reddit (Opens in new window) Reddit
  • More

Like this:

Like Loading...
Proudly powered by WordPress
%d