#!/bin/sh
cat /var/log/manticore/query.log | sed '/ (0,[0-9][0-9]\+)\] \[/!d; /_index\] *$/d; s/\[... \(...\)  \?\([0-9]\+\) [0-9.:]\+ \([0-9]\+\)\].*\] \[\([a-z]\+\)\(_main\)\?_index[^]]*\] \?\(.*\)$/\2 \1 \3,\4,\6/'

Add command line to compile query stats
Add command line to compile query stats

Quick and dirty for Tatominer.
Maybe we could have Manticore directly produce
the logs in a format usable by Tatominer.
