nginx log analyse and insert log into msyql db