Sha256: 5b16bfcbaf334670dcdfc9ab6886d1305505e40e1ff7c61075225f247f4e792c

Contents?: true

Size: 464 Bytes

Versions: 7

Compression:

Stored size: 464 Bytes

Contents

#
# Give, for each page (path), the number of successfully (http status = 200) 
# served requests. Take only non robot requests into account.
#
# Use the following invocation to have them sorted by hit number:
# 
#   alf --text --env=examples/logs sort hits -- hits asc
#
(summarize \
  (restrict :combined, 
            lambda{ (http_status == 200) and 
                    not(user_agent =~ /[Bb]ot/ or path =~ /robots.txt/) }),
  [:path],
  :hits   => count())

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
alf-0.12.2 examples/logs/hits.alf
alf-0.12.1 examples/logs/hits.alf
alf-0.12.0 examples/logs/hits.alf
alf-0.11.1 examples/logs/hits.alf
alf-0.11.0 examples/logs/hits.alf
alf-0.10.1 examples/logs/hits.alf
alf-0.10.0 examples/logs/hits.alf