Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
studersi opened this issue Apr 3, 2018 · 0 comments

Comments

@studersi
Copy link
Contributor

studersi commented Apr 3, 2018

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant