dune73 / test-4

2 stars 4 forks source link

[Tutorial 10] The content of `tutorial-8-example-access.log` has changed but the tutorial hasn't #57

Open studersi opened 6 years ago

studersi commented 6 years ago

The content of the log file tutorial-8-example-access.log has changed drastically, making it complicated to follow the tutorial.

Sometimes, it's not possible to produce graphs as described in the tutorial. An example would be the graph of the timestamps and how they are distributed. In the new log file, the requests are so close together, it's not really helpful to plot it at all.

In tutorial:

$> grep 2015-05-2 tutorial-8-example-access.log | altimestamp | cut -d: -f1 | sort | uniq -c | head
     37 2015-05-20 12
      6 2015-05-20 13
      1 2015-05-20 14
    105 2015-05-20 15
     38 2015-05-20 16
     25 2015-05-20 17
     19 2015-05-20 18
     32 2015-05-20 19
     19 2015-05-20 22
      1 2015-05-21 06

Using the actual log file provided:

$ grep 2016-11-0 tutorial-8-example-access.log | altimestamp | cut -d: -f1 | sort | uniq -c | head
  10000 2016-11-03 22