SQL User Activity

Microsoft.SQLServer.Linux.Views.Report.UserActivity (LinkedReport)

SQL User Activity Analysis Report

Knowledge Base article:

Summary

How does this report work?

The User Activity report displays one chart with these performance items:

The report finds data if the objects supplied are of type "MSSQL on Linux: DB Engine".

Search for objects with contains and (e.g. “Instance 1”)

The report displays for every selected object a separate chart. Data is aggregated to days of a month.

How to use this report?

When run from the Reporting space:

The second column in the search results shows of which type the displayed objects are. Make sure you select objects of type SQL DB Engine.

When run from the Monitoring space:

Create a state view or performance view by choosing the “MSSQL on Linux: DB Engine” type.

What Parameters are offered?

Date/Time selection: Allows selecting a relative or fixed date and time range and time zone.

Object: Allows adding objects to run this report.

Element properties:

BaseMicrosoft.SystemCenter.DataWarehouse.Report.Performance
TargetMicrosoft.SQLServer.Linux.DBEngine
AccessibilityPublic
VisibleTrue

Source Code:

<LinkedReport ID="Microsoft.SQLServer.Linux.Views.Report.UserActivity" Target="SqlDiscL!Microsoft.SQLServer.Linux.DBEngine" Accessibility="Public" Visible="true" Base="DWReport!Microsoft.SystemCenter.DataWarehouse.Report.Performance">
<ParameterBlock xmlns="http://schemas.microsoft.com/mom/reporting/2007/ReportParameterSettings" columns="6">
<Controls>
<Control type="Microsoft.SystemCenter.DataWarehouse.Report.ParameterControl.ComboBox" columnSpan="2">
<ReportParameters>
<ReportParameter name="DataAggregation">
<Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.DataAggregation</Prompt>
</ReportParameter>
</ReportParameters>
</Control>
<Control type="Microsoft.SystemCenter.DataWarehouse.Report.ParameterControl.LinkedPerformanceChartObjectPicker" columnSpan="4" rowSpan="3">
<ReportParameters>
<ReportParameter name="ObjectList">
<Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.ObjectList</Prompt>
</ReportParameter>
<ReportParameter name="ManagementGroupId" binding="GroupList"/>
</ReportParameters>
<Properties>
<Property name="ValueTemplate">
<Value>
&lt;Data&gt;
&lt;Chart ObjectJoin="ChartPerObject" TitleString="Microsoft.SQLServer.Linux.Views.Report.UserActivity.ChartTitle1"&gt;
&lt;Series&gt;
&lt;Rule&gt;$MPElement[Name="SqlMonL!Microsoft.SQLServer.Linux.CollectionRule.DBEngine.LoginsPerSecond"]$&lt;/Rule&gt;
&lt;Scale&gt;1&lt;/Scale&gt;
&lt;Type&gt;Line&lt;/Type&gt;
&lt;Color&gt;63,63,255&lt;/Color&gt;
&lt;/Series&gt;
&lt;/Chart&gt;
&lt;/Data&gt;
</Value>
</Property>
<Property name="ContextObjectBinding">
<Value>Containment</Value>
</Property>
<Property name="TypeFilter">
<Value>Microsoft.SQLServer.Linux.DBEngine</Value>
</Property>
</Properties>
</Control>
<Control type="Microsoft.SystemCenter.DataWarehouse.Report.ParameterControl.BusinessRelativeDateTimePicker" columnSpan="2">
<ReportParameters>
<ReportParameter name="TimeZone" binding="TimeZone">
<Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.TimeZone</Prompt>
</ReportParameter>
<ReportParameter name="TimeZoneName" binding="TimeZoneName"/>
<ReportParameter name="StartDate_BaseType" binding="StartDate_BaseType"/>
<ReportParameter name="StartDate_BaseValue" binding="StartDate_BaseValue">
<Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.StartDateTime</Prompt>
</ReportParameter>
<ReportParameter name="StartDate_OffsetType" binding="StartDate_OffsetType"/>
<ReportParameter name="StartDate_OffsetValue" binding="StartDate_OffsetValue"/>
<ReportParameter name="EndDate_BaseType" binding="EndDate_BaseType"/>
<ReportParameter name="EndDate_BaseValue" binding="EndDate_BaseValue">
<Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.EndDateTime</Prompt>
</ReportParameter>
<ReportParameter name="EndDate_OffsetType" binding="EndDate_OffsetType"/>
<ReportParameter name="EndDate_OffsetValue" binding="EndDate_OffsetValue"/>
<ReportParameter name="TimeType" binding="TimeType"/>
<ReportParameter name="TimeWeekMap" binding="TimeWeekMap"/>
</ReportParameters>
</Control>
<Control type="Microsoft.SystemCenter.DataWarehouse.Report.ParameterControl.BooleanPicker" columnSpan="2">
<ReportParameters>
<ReportParameter name="Enable3D">
<Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.Chart3D</Prompt>
</ReportParameter>
</ReportParameters>
</Control>
</Controls>
</ParameterBlock>
<Parameters>
<Parameter Name="AggregationType">
<Value>2</Value>
</Parameter>
</Parameters>
</LinkedReport>