当前位置:网站首页>The time difference between IIS7 log and system time is 8 hours. Use logparser to solve the problem
The time difference between IIS7 log and system time is 8 hours. Use logparser to solve the problem
2022-06-22 09:34:00 【ootw】
I won't say much about installation , Baidu on a lot of .
Just give an example , For example, now you want to check today 2019 year 3 month 17 Japan In the morning 8 Point to 9 Records between points , Results generated to a.csv in , So the command says :
LogParser -o:csv "SELECT TO_LOCALTIME(TO_TIMESTAMP(date, time)) AS local-timestamp, s-port,cs-uri-stem,time-taken into a.csv FROM iislogs\u_ex*.log WHERE TO_LOCALTIME(TO_TIMESTAMP(date, time))>TIMESTAMP('2019-03-17 08:00:00','yyyy-MM-dd hh:mm:ss' ) AND TO_LOCALTIME(TO_TIMESTAMP(date, time))<TIMESTAMP('2019-03-17 09:00:00','yyyy-MM-dd hh:mm:ss' ) "
Then the result is all system time , No more human flesh 8 Hour , I didn't know before that this tool is hard calculated by the human brain , Every time I check IIS Logs all want to die .
If you have any questions, you are welcome to ask , I always do .
边栏推荐
- Value (address) transmission, see the name clearly, don't fall into the ditch
- cocoscreator编译报错记录 Could not write cache value 。。。.gradle\daemon\4.10.3\regi
- 模糊查询和聚合函数
- simple_ Strtoull character conversion related functions
- IS_ERR()
- Summary and future prospect of transfer learning | community essay solicitation
- Payment order case construction
- 论文笔记:DETR: End-to-End Object Detection with Transformers (from 李沐老师and朱老师)
- Find the size of cosine
- Servlet的生命周期
猜你喜欢

day367:有效的完全平方数

Volumedetect of ffmpeg

C# 进程如何使用非静态方法

File expert ---multer

在ensp上做防火墙的双机热备

Kali Trojan invades win7 system
![[学习笔记] 回滚莫队](/img/19/d374dd172b9609a3f57de50791b19e.png)
[学习笔记] 回滚莫队

Feedforward and backpropagation

Win+sublime Text3 + go 1.9.2 environment setup diagram

Langchao state-owned assets cloud: state-owned assets as a guide to help state-owned enterprises use data to enrich their wisdom in the cloud
随机推荐
Embedded development terminology concept summary
Set up multiple web sites
How C processes use non static methods
C语言刷题 | 用%f控制符输出6位小数(17)
Binary String
模糊查询和聚合函数
[cmake命令笔记]target_compile_options
Mapping multiple exit servers on ENSP
A readme of an old open source person - how to do open source well
pytorch的模块使用:线性模型(未完成)
[uni app] actual combat summary (including multi terminal packaging)
==Classic interview questions
mknod
编译basalt时出现的报错
container_of
C language brush question | temperature conversion (11)
Debian10 创建用户、用户组、切换用户
[hdu] P7058 Ink on paper 求最小生成树的最大边
office2016+visio2016
Mapping Multi - export Server on ENSP