Skip to content

Commit b07add7

Browse files
authored
Create 2025-05-09-initial-log-analysis.md
1 parent 0047bb4 commit b07add7

File tree

1 file changed

+85
-0
lines changed

1 file changed

+85
-0
lines changed
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
This is after the DNS for (*.)rubyforge.org was [updated to point at Fastly on 8th May 2025](https://github.com/rubycentral/rubyforge-redirects/issues/8).
2+
3+
```
4+
# Count of log entries
5+
sqlite> select count(*) from logs;
6+
185926
7+
8+
# Count of log entries grouped by HTTP status code and HTTP host
9+
sqlite> select response_status, host, count(*) from logs group by 1, 2 order by count(*) desc limit 20;
10+
404|rubyforge.org|33555
11+
301|gems.rubyforge.org|17663
12+
404|www.rubyforge.org|3835
13+
404|sequel.rubyforge.org|2350
14+
404|rack.rubyforge.org|2232
15+
404|rake.rubyforge.org|2183
16+
404|wxruby.rubyforge.org|2160
17+
404|amazon.rubyforge.org|2135
18+
404|god.rubyforge.org|2117
19+
404|juggernaut.rubyforge.org|2117
20+
404|webgen.rubyforge.org|2078
21+
404|maruku.rubyforge.org|2044
22+
404|mechanize.rubyforge.org|2040
23+
404|rmagick.rubyforge.org|2038
24+
404|kramdown.rubyforge.org|2031
25+
404|backgroundrb.rubyforge.org|2024
26+
404|wtr.rubyforge.org|2017
27+
404|geokit.rubyforge.org|2013
28+
404|libxml.rubyforge.org|2011
29+
404|celerity.rubyforge.org|2008
30+
31+
# Count of log entries grouped by date
32+
sqlite> select date(timestamp), count(*) from logs group by 1;
33+
2025-04-04|254
34+
2025-04-05|355
35+
2025-04-06|300
36+
2025-04-07|488
37+
2025-04-08|350
38+
2025-04-09|523
39+
2025-04-10|957
40+
2025-04-11|327
41+
2025-04-12|488
42+
2025-04-13|480
43+
2025-04-14|776
44+
2025-04-15|824
45+
2025-04-16|653
46+
2025-04-17|538
47+
2025-04-18|297
48+
2025-04-19|378
49+
2025-04-20|674
50+
2025-04-21|617
51+
2025-04-22|340
52+
2025-04-23|561
53+
2025-04-24|565
54+
2025-04-25|318
55+
2025-04-26|576
56+
2025-04-27|316
57+
2025-04-28|522
58+
2025-04-29|411
59+
2025-04-30|346
60+
2025-05-01|341
61+
2025-05-02|522
62+
2025-05-03|765
63+
2025-05-04|512
64+
2025-05-05|600
65+
2025-05-06|344
66+
2025-05-07|621
67+
2025-05-08|10407
68+
2025-05-09|158580
69+
70+
# Count of log entries grouped by host before switching DNS to Fastly
71+
sqlite> select host, count(*) from logs where date(timestamp) < '2025-05-09' group by 1 order by count(*) desc limit 5;
72+
gems.rubyforge.org|17607
73+
rubyforge.org|3791
74+
activewarehouse.rubyforge.org|428
75+
www.rubyforge.org|248
76+
juggernaut.rubyforge.org|155
77+
78+
# Count of log entries grouped by host after switching DNS to Fastly
79+
sqlite> select host, count(*) from logs where date(timestamp) > '2025-05-08' group by 1 order by count(*) desc limit 5;
80+
rubyforge.org|29769
81+
www.rubyforge.org|3587
82+
sequel.rubyforge.org|2287
83+
rack.rubyforge.org|2212
84+
rake.rubyforge.org|2124
85+
```

0 commit comments

Comments
 (0)