Squid "Common/Combined Log Format (CLF)" Log parser plugin for Embulk
Embulk parser plugin for Squid CLF log (common/combined).
Overview
- Plugin type: parser
- Guess supported: no
Configuration
- format: log format(common, combined) (string, default: combined)
Example
in:
type: any file input plugin type
parser:
type: squid_clf_log
format: common
Build
$ cd embulk-parser-squid_clf_log
$ ./gradlew gem
Supported log format
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