{"id":3382,"date":"2018-06-06T08:25:48","date_gmt":"2018-06-06T08:25:48","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=3382"},"modified":"2018-06-06T08:25:48","modified_gmt":"2018-06-06T08:25:48","slug":"user-iis-logs-to-find-load-per-app-pool","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/random\/user-iis-logs-to-find-load-per-app-pool","title":{"rendered":"User IIS Logs to find Load per app pool"},"content":{"rendered":"<p><em><strong>Shout out to Bennis at Bayswater Electrical for this!<\/strong><\/em><\/p><p class=\"x_MsoNormal\">Logpaser is seriously good tool to filter through the mess of IIS logs!<\/p><p class=\"x_MsoNormal\"><a href=\"https:\/\/protect-au.mimecast.com\/s\/EbcWCNLwN2cNXNVTmN9r7?domain=microsoft.com\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.microsoft.com\/en-au\/download\/details.aspx?id=24659<\/a><\/p><p class=\"x_MsoNormal\">Grab all your ISS log files for the dates you need.<\/p><p class=\"x_MsoNormal\">Chuck them in a directory<\/p><p class=\"x_MsoNormal\">First command grabs all the .log files into a single csv<\/p><p class=\"x_MsoNormal\"><span lang=\"EN-US\">logparser.exe -i:iis \u201cselect * into c:\\temp\\merge.log from c:\\temp\\logs\\*\u201d -o:csv<\/span><\/p><p class=\"x_MsoNormal\">the \u201c\u2013i\u201d option selects the log format \u00a0be sure to select the correct format to match your IIS settings. eg, exchange is generally IISW3C.<\/p><p><img loading=\"lazy\" decoding=\"async\" width=\"532\" height=\"310\" class=\"alignnone size-full wp-image-3383  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2018\/06\/img_5b179a0d0ece7.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2018\/06\/img_5b179a0d0ece7.png 532w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2018\/06\/img_5b179a0d0ece7-300x175.png 300w\" sizes=\"auto, (max-width: 532px) 100vw, 532px\" \/><\/p><p class=\"x_MsoNormal\">\u00a0<\/p><p class=\"x_MsoNormal\">The second command you use to filter out the details you really need, similar to a sql query!<\/p><p class=\"x_MsoNormal\"><span lang=\"EN-US\">logparser.exe -i:csv &#8220;Select username, date, time, target FROM c:\\temp\\merge.log TO c:\\temp\\output.csv WHERE RequestType LIKE &#8216;%get%&#8217; and username is not null&#8221;<\/span><\/p><p>Use Excel or Notepad ++ to join the results together<\/p>","protected":false},"excerpt":{"rendered":"<p>Shout out to Bennis at Bayswater Electrical for this!Logpaser is seriously good tool to filter through the mess of IIS logs!https:\/\/www.microsoft.com\/en-au\/download\/details.aspx?id=24659Grab all your ISS log files for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[2508,1401,2507,2509,1661],"class_list":["post-3382","post","type-post","status-publish","format-standard","hentry","category-random","tag-app-pool","tag-iis","tag-load","tag-logs","tag-parse"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=3382"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3382\/revisions"}],"predecessor-version":[{"id":3384,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3382\/revisions\/3384"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=3382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=3382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=3382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}