Professional Documents
Culture Documents
Revision History:
Date
Author
04/14/2013 Shrinivas
Narayani/Sanjaka
Malinda
Change Summary
Created the document.
Version
1.0
References:
Key
Contents
1
Introduction .................................................................................................................................................................... 2
5.3
5.4
5.5
5.6
7.3
Figures
Page 1
1 Introduction
Following document describes to diagnostics steps be taken at the time site outage.
Page 2
Resolution:
Run Sp_who command to check long running query. TBD
Check the ouput of Trace Flag. (Check enabling Trace Flag). TBD
Page 3
Page 4
Page 5
Page 6
5.1
Message View
The Message View shows a list of all selected messages. Message layout and color can be freely customized. The
context menu offers are powerful selection of different filter techniques.
5.2
Message Details
All details of the currently selected message are shown here. Resizable text boxes allow event the inspection of
complex formatted log output like call stacks.
5.3
Logger Tree
The logger tree shows all loggers in a hierarchical order and permits setting log level filters for each logger
individually. The logger tree shows the selected log level of each logger.
5.4
Search Messages
Use wildcards or regular expressions to find log messages.
5.5
Filter View
Here you can comfortably manage additional filters (wildcards or regular expressions based), which extend the
limitations of logger, log level or time based filtering.
5.6
Page 7
A.
Click this button to open a log IIS logs. Add one more IIS logs from one or more Webserver. There is shared
folder logs(\\10.0.1.21\logs) on every webserver which maps to c:\intetpub\wwwroot\IISlogs
B.
Click this button to execute the query. Enter the query in the textarea (E) before executing the query.
C.
D.
E.
Find the url, Server IP, Client IP, Status (200, 404 or etc.) and time on specific time period
================================================================================
Page 8
SELECT cs-uri-stem as URL, s-ip as Server1, c-ip as Client ,sc-status as code, time as Time
FROM '[LOGFILEPATH]' where (time > '06:36:03') and (time < '06:41:53') and (date= '2013-04-01')
order by Time
----------------------------------------------------------------------------------------------------Find the specific client IP Address and Specific count based on number of hits by particular IP on specific time period
================================================================================================
==
SELECT
c-ip as Client ,count(c-ip)
FROM '[LOGFILEPATH]' where (time > '19:20:03') and (date= '2013-04-01')
group by c-ip order by count(c-ip)
-----------------------------------------------------------------------------------------------------
Page 9
----------------------------------------------------------------------------------------------------Find the url and specifc status(200, 404 or etc) on specific time period
================================================================
SELECT cs-uri-stem AS Url, sc-status
FROM '[LOGFILEPATH]' where (time > '06:36:03') and (time < '06:41:53') and (date= '2013-03-28')
-----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------Find the specific URL and Specific count based on number of hits by particular URL on specific time period
==================================================================================================
=======================
SELECT cs-uri-stem as Url,
WHERE (time > '06:41:53')
DESC
7.1
Page 10
7.2
7.3
After analysis is complete the dump file should be moved to another location in order the bring the dump file count to
zero.
Note that size of dump file is 1GB. Files should be deleted periodically in order to maintain the disc space.
Page 11