Files
pancho horrillo 26fa12c871 doc: drop mentions to .pow files ($deity REST their soul)
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-12-24 14:03:49 +01:00

6 lines
164 B
Bash
Executable File

#!/bin/sh
kapow route add /apache-logs - <<-'EOF'
cat /var/log/apache2/access.log | grep -- "$(kapow get /request/params/pattern)" | kapow set /response/body
EOF