1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MicrosoftのLogParserでIISのログ解析をする方法

Posted at

SharePointにユーザー毎の最終アクセス日時を吐き出す機能が見当たらないので、IISのログを解析して表示することにした。

LogParserはログ解析に特化したMSのツール。

ユーザー別の最終アクセス日時と、リクエスト数を一覧として出力するクエリは次のとおり。

select cs-username as User, max(date) as LastAccessDate ,COUNT(*) as Hits from  '[LOGFILEPATH]' group by cs-username
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?