使用LogParser 将iis日志导入到数据库中

--注意修改日志位置和表名
--u_ex180228.log 日志所在位置

--IISLog 表名
--IISLog_table_0228 表名
"C:Program Files (x86)Log Parser 2.2LogParser.exe" "SELECT * FROM D:LogFilesW3SVC1u_ex180228.log TO IISLog_table_0228" -o:SQL -server:. -driver:"SQL Server" -database:IISLog -username:sa -password:123456 -createtable:ON

原文地址:https://www.cnblogs.com/ainidewen/p/8492266.html