Embulk parser plugin for Squid CLF(Common/Combined Log Format) log.
- Forked from embulk-parser-apache-log (Author: Hiroyuki Sato)
- Plugin type: parser
- Guess supported: no
- format: log format(common, combined) (string, default: combined)
in:
type: any file input plugin type
parser:
type: squid_clf_log
format: common
$ embulk gem install embulk-parser-squid_clf_log
$ cd embulk-parser-squid_clf_log
$ ./gradlew gem
logformat common %>a %[ui %[un [%tl] "%rm %ru HTTP/%rv" %>Hs %<st %Ss:%Sh
logformat combined %>a %[ui %[un [%tl] "%rm %ru HTTP/%rv" %>Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh