I reconstructed Piwik's log_import.py, to import the format of apache fluentd. And I later revealed to solve problems when we use Piwik under the Japanese (multibyte character set). More further information, please see the link https://osdn.jp/projects/piwik-fluentd/wiki/FrontPage
Thank you for attention.