Anyone know how to obtain the SessionID/ASPNET_SESSIONID using a LogParser query? FYI, the site I'm querying uses SSL. Currently, my query is
SELECT * FROM 'C:\inetpub\logs\LogFiles\W3SVC6\*.log'
where cs-uri-stem like '%.doc' OR cs-uri-stem like '%.docx' AND date >= '2012-07-01'
Best Answer
How about this:
Unlike SQL, You have to specify the columns you're interested in explicitly instead of adding a
*
column wildcard (i.e. the<other_column_names>
placeholder in the query above).You also need to make sure that IIS is configured to log cookies as well in your logging settings (assuming you're using the W3C logging format):