IIS Log Metrics are not getting created
search cancel

IIS Log Metrics are not getting created

book

Article ID: 407140

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

As a result of time zone settings the timestamp values in the IIS log has a time shift (2 hours in this case), the APMIA IIS log metrics are not created, with except of line processed metric. Is it possible to define a time shift for the log?

Resolution

Following configuration resolved the issue.

There is issue with column numbers provided on the configuration under the ColumnGroup. As bytes transferred column is not there so it is removed.

Working sample iis-logmonitor.xml

<ColumnGroup>
<!-- Request per interval per server-ip(column 3) per uri-stem(column 5) -->
<ColumnData column="5" type="frequency" metric="{3}|{5}:Request Per Interval"/>
<!-- Response code(column 12) per sip(column 3) per uri-stem(column 5) -->
<ColumnData column="12" type="frequency" metric="{3}|{5}|Response Code:{12}"/>
<!-- Average Response Time(column 17, see attribute column and type is average below) per sip(column 3) per uri-stem(column 5) -->
<ColumnData column="15" type="IntAverage" metric="{3}|{5}:Average Response Time(ms)"/>
<!-- Total bytes transferred(column 16, see attribute column and type is PerIntervalCounter below) per sip(column 3) -->
<!-- ColumnData column="16" type="PerIntervalCounter" metric="{3}:Bytestransferred"/> -->
</ColumnGroup>