O'Reilly logo

Learning AWK Programming by Shiwang Kalkhanda

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Parsing web server (Apache/Nginx) log files

In this section, we will see how AWK can be used for generating reports from log files. Using AWK, we can segregate the different portions of log files to find the bottleneck of different issues that are creating extensive memory usage, CPU usage, or I/O on servers.

We will use a sample log file named apache_logs.txt for performing the practice here.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required