Questions tagged [iis-logs]

75 questions
164
votes
5 answers

How to find corresponding log files folder for a web site?

There are multiple web sites and multiple folders under inetpub\logs\LogFiles (W3SVC1, W3SVC2, etc). How can I find what folder is used by a given web site?
user626528
  • 13,999
  • 30
  • 78
  • 146
13
votes
1 answer

IIS Custom field logging through HTTP Request in ASP NET Core

I have enabled IIS logging with custom fields for my website. Previously in MVC, I have used HTTPHandlers and Module to add the above fields to the HTTP Request headers. web.config:
Dinesh M
  • 1,026
  • 8
  • 23
13
votes
5 answers

Parse IIS log file - is there an alternative to LogParser

I need to parse an IIS log file. Is there any alternative to LogParser, a simple class to query a log file ? I only need to know how many request I receive between 2 dates. Here is an example of iis log file : #Software: Microsoft Internet…
Anas
  • 5,622
  • 5
  • 39
  • 71
11
votes
1 answer

What does each sc-win32-status code indicate?

In my IIS log I see many instances of sc-bytes=0. The time-taken for these entries are generally higher than average. I can see various values of sc-win32-status like 64, 22, 121, 1236 etc. Most of them have sc-status 200. Few have sc-win32-status…
Souvik Basu
  • 3,069
  • 4
  • 28
  • 42
7
votes
1 answer

MS Log Parser 2.2 Query Error

I am trying to determine if a user downloaded a file from FTP using MS Log Parser 2.2 I have not been able to get parser SQL query going, although I have used several samples queries. Water Down Parser Query does not work: strSQL = "SELECT…
Internet Engineer
  • 2,514
  • 8
  • 41
  • 54
5
votes
1 answer

Extend IIS logs in .Net Core 2.2 Api

I'm moving stuff from my ASP.Net MVC application (.Net Framework 4.7) to a new .Net Core 2.2 API. In my old MVC application I added some specific POST properties to the IIS logs via HttpResponseBase.AppendToLog(). I can't find a similar method in…
kloarubeek
  • 2,706
  • 20
  • 24
5
votes
2 answers

IIS logs questions

I have few questions related to iis logs: 1)I have noticed many iis logs contain the same information but row are duplicated, why is it so? 2)For the same cookie in some rows Asp.net sessionID remain missing. For example if there are 5 rows for the…
Naresh
  • 5,073
  • 12
  • 67
  • 124
4
votes
1 answer

Execution Error: from org.apache.hadoop.hive.ql.exec.DDLTask

I am using the below regex(tab seperated) to parse the data(also tab seperated) which is given. Hive table creation syntax: create table akmlogreg(logdate string, time string, clientip string, method string, uri string, status string, bytes…
Naresh
  • 5,073
  • 12
  • 67
  • 124
4
votes
3 answers

What are your favorite LogParser Scripts?

What are you favorite LogParser 2.2 Scripts to run against IIS logs and Event logs? I am putting a list of scripts together to run against our production environment to proactively look for issues and to help when isolating performance problems. Do…
Elijah Manor
  • 17,923
  • 17
  • 72
  • 79
3
votes
0 answers

Why Do Azure Web App logs in Blob Storage Have Inconsistent Directory Names?

I have Azure Web Apps set to store app logs and iis logs in Blob Storage. This is working, except that each app divides its logs into many disorganized folders, each with a random tag in the name. For example, if my web app is called my-web-app,…
3
votes
0 answers

Identify the cause of error from IIS log

We have an MVC website running on Production and recently had a PCI scan. For some reason it crashes the web server during scan and we are trying to find out the cause. We have an IIS log that we study using a Log Parser tool. There is 500 Internal…
Ammar Khan
  • 346
  • 1
  • 9
  • 27
3
votes
2 answers

appcmd.exe to overwrite a single site's entire xml config (applying the settings to a site that already exists)

I don't want to delete and recreate a site I just want to be able to apply the entire config to it and override any settings that are different. I backed up the site config with %windir%\system32\inetsrv\appcmd list site /config /xml >…
red888
  • 27,709
  • 55
  • 204
  • 392
3
votes
8 answers

Looking for real-time web server analytics package

I am the programmer for the Education department at a county hospital. I would like to be able to see some real-time stats on an IIS6 web server that is only accessible in-house. I'm looking for something similar to what 1and1.com provides for their…
AnonJr
  • 2,759
  • 1
  • 26
  • 39
3
votes
1 answer

How to enable and download IIS logs on Windows Azure?

Is there a way to easily enable and download Windows Azure IIS logs for a ASP web site? I found a few articles (about transferring logs to storage) but those all seem too complicated for something that should be readily available.
Davidovich
  • 43
  • 1
  • 5
3
votes
2 answers

Extract Distinct restful MVC routes from IIS logs

My shop is using MVC3/FUBU on IIS 7. I recently put something into production and I wanted to gather metrics from the IIS logs using log parser. I've done this many times before but because the MVC3 routes are of the form /api/person//address/ the…
Grummle
  • 1,364
  • 1
  • 12
  • 21
1
2 3 4 5