Questions tagged [iis-logs]

75 questions
2
votes
1 answer

Log parser not treating "" as one field

Im trying to parse an IIS log file using LogParser 2.2, however im having a problem when it comes to the user agent because it sees the spaces in the following user agent and thinks it's a new field... "Mozilla/5.0 (Windows NT 6.1; WOW64)…
electricsheep
  • 5,114
  • 9
  • 37
  • 41
2
votes
0 answers

How to retrieve IIS log parameter value [Parameter name: Service Name and Instance Number (s-sitename)] from HttpContext object

I want to write access log for my application similar to IIS access log (e.g IIS log file Path: "C:\inetpub\logs\LogFiles\W3SVC1\u_ex190422.log") using .net core. For below fields I am able to retrieve information from HttpContext object URI…
2
votes
1 answer

How to convert IIS W3C log file to CSV?

I want to parse IIS log file (in W3C format) to CSV or XLS file in PowerShell or C#. I Try With this code in PowerShell: $LogFolder = "C:\iislog\" $LogFiles = [System.IO.Directory]::GetFiles($LogFolder, "*.log") $LogTemp = "C:\iislog\end.csv" # Logs…
Arman Feyzi
  • 788
  • 2
  • 11
  • 28
2
votes
2 answers

Which event occurs first, OnAuthorizeRequest of HttpModule or IIS logging

Let me explain the context first. The below is my understanding so please do not troll me :) I have a HttpModule which helps in url rewriting on event OnAuthorizeRequest. So whenever a request comes in with say www.mysite.com/abc/ the module…
samar
  • 5,021
  • 9
  • 47
  • 71
2
votes
1 answer

IIS Daily logging does not create a new log file every day

Logging is enabled for a site in IIS with the following settings: One log file per: Site Format: W3C Directory: %SystemDrive%\inetpub\logs\LogFiles Encoding: UTF-8 Schedule: Daily However, logging data is still just appended to a single file…
Harald Greve
  • 147
  • 3
  • 14
2
votes
3 answers

What does sc-status 0 mean?

I am reviewing an issue in our servers by gathering statistics on our IIS Logs. I have noticed several entries for a given path that have an sc-status of 0. I have tried to find what that could mean, but every blob/documentation site I view lists…
Justin Blakley
  • 458
  • 4
  • 16
2
votes
1 answer

appcmd to check a config exists?

I can run this command to add a custom log: .\appcmd.exe set config -section:system.applicationHost/sites /+"[name='MyWebSite'].logFile.customFields.[logFieldName='OriginalIP',sourceName='X-FORWARDED-FOR',sourceType='RequestHeader']"…
red888
  • 27,709
  • 55
  • 204
  • 392
2
votes
0 answers

Track how many times the Back button has been clicked via IIS Logs?

Is it possible to track how many time the Back button on a web browser has been clicked on by parsing/ querying IIS Logs? I've seen a lot of solutions that uses Javascript, but I was just wondering if it's possible with IIS Logs. Perhaps there's…
Dennis C.
  • 21
  • 1
2
votes
2 answers

Logstash azure plugin

I am very new to logstash, and am kind of stuck how to do this part. I copied logs from azure blob container, and was able to parse via logstash and put the records in elastic search on my local machine. Now I want to change the input so that…
Dhrumil
  • 117
  • 5
  • 13
2
votes
1 answer

ASP.NET cached aspx page & IIS logs

Is there any way to find out if ASP.Net runtime has served a cached copy of ASPX page or actually went through the page life cycle? Here is my problem: I'm seeing many entries in my IIS log files that were served successfully (200 OK). I've a…
Vishal Seth
  • 4,948
  • 7
  • 26
  • 28
2
votes
1 answer

iis 7 log missing for some sites

We use IIS 7. We have log enabled to be daily for all our sites. For new sites, I can see logs are created properly, but for old sites, the logs are just not there. From IIS manager, I can see the log is enabled, but for some reason, the logging…
daxu
  • 3,514
  • 5
  • 38
  • 76
2
votes
1 answer

AppHarbor's IIS logs

Is there a way to get the IIS logs for a website hosted on AppHarbor? I have one site hosted on it and I am getting run time exception. Currently I get a suggestion that I should enable custom errors to view the exception. I don't want to do this…
tusharmath
  • 10,622
  • 12
  • 56
  • 83
1
vote
1 answer

GMAIL rss don't see tag description.How to see Request headers of my iis 5 website

217.76.185.140/18.rss asp.net server If i add to webclip (gmail) rss http://www.brainyquote.com/link/quotebr.rss it works fine (See up of the inbox there are rss feed) But my own rss feed don't see description tag. 1.I want copy request header…
user88064
  • 77
  • 1
  • 1
  • 6
1
vote
2 answers

What do IIS logs with crypt-protocol value of '-' indicate?

I have enabled TLS connection logging in my Azure cloud service to find out what TLS version my clients are using, following the guidance here -…
Saint
  • 3,977
  • 2
  • 11
  • 10
1
vote
0 answers

ASP.NET forms authentication IIS log file shows POST and GETx2 for a POST request

If a do a login form POST request (with a redirect URL) from my ASP.NET web app client and then look at the IIS logs then I see the POST request but I also see a couple of GETS relating to the redirect. Can anyone explain the sequence of…
DEH
  • 1,647
  • 3
  • 25
  • 45