Inserts a table containing summary device data into your report.
Purpose
Inserts a table containing summary device data into your report. This works for device configurations that were present in LogicMonitor at the time the report was run. Columns can be selected based on standard device properties.
Compatibility
The macro can be used in the highlighted input document types only. A greyed-out icon indicates not supported.
Usage
If the columns parameter is not specified, the following will be used:
- HostName
- DisplayedAs
- Type
- Status
The full list of supported columns are as follows. For more details, see the LogicMonitor API documentation.
- AllAsJson
- Id
- Link
- HostName
- NetflowCollectorId
- PreferredCollectorId
- CollectorDescription
- EnableNetflow
- DisplayName
- DisplayedAs
- Type
- AlertStatus
- Status
- AlertsAreAcknowledged
- AlertLevel
- AlertsAreInSdt
- DeviceGroupIds
- CurrentCollectorId
- AlertEnable
- AutoPropsAssignedOn
- AutoPropsUpdatedOn
- CreatedOn
- EffectiveAlertEnabled
- DeviceGroups
- Groups
- InSdt
- SdtStatus
- LastDataTime
- DeviceStatus
- AllAsJObject
- Any LogicMonitor device property, preceded with "Properties." (e.g. Properties.system.sysinfo, Properties.ips, Properties.location)
- Special SysInfo Properties (Cisco only):
- Properties.system.sysinfo.Hardware
- Properties.system.sysinfo.Software
- Properties.system.sysinfo.SoftwareVersion
- Properties.system.sysinfo.SoftwareStatus
See also Table Macros help.
.Behaviour (1)11 additional
| Parameter | Type | Presence | Purpose | Options | Default |
| Boolean | Optional | If true, the table will not be written to the report. This is useful if you want to use a Table macro in PowerPoint (which does not support adding tables) but have XLSX output enabled on the Schedule. This way the macro will produce a Success rather than Macro Error and the XLSX output will be generated. |
|
false |
Additional (11)
| Parameter | Type | Presence | Purpose | Options | Default |
| String | Optional | Post processing formula. Use {value} for the macro output, e.g. {value}/1024. | N/A | N/A | |
| Boolean | Optional | Should NCalc expression evaluation throw error on Overflow |
|
true | |
| String | Optional | The macro is considered 'fatal' if the expression evaluates to true. Use 'value' as the macro output in the expression. | N/A | N/A | |
| String | Optional | The condition that must be true in order for the macro to be executed/evaluated. Must either evaluate to true or false, for example: "3+5=8" or "contains('abcd', 'z'). | N/A | true | |
| Int32 | Optional | The maximum number of attempts when requesting data via the LogicMonitor API. |
|
N/A | |
| MacroMode | Optional | The mode in which variables are stored. In the legacy mode (default for Schedules), the variable created is a string and formatted. In the normal mode (default for Report Studio), the output variable is stored as a strongly-typed theObject, e.g. an Int32 or a List |
|
Legacy | |
| ObfuscationType | Optional | Obfuscation type. Use obfuscation to write reports where sensitive data is hidden. When used, ReportMagic guarantees that the same input string will map to the same output string for the whole of the report (but the next time the report runs, it will most likely map to a different value). If you use obfuscation, the property in your macro will not show up and instead, you will see a fake item of the obfuscation type chosen. |
|
None | |
| Boolean | Optional | Include devices in all child folders. |
|
true | |
| Boolean | Optional | Whether substituted variables are hidden from macro results (and the word 'REDACTED' will appear in progress screens and elsewhere in the web UI). |
|
false | |
| Boolean | Optional | Whether to wait during LogicMonitor upgrades (i.e. execution essentially pauses). |
|
N/A | |
| String | Optional | If specified, adds a warning message for this macro. This is processed as an NCalc, and the warning message will ALWAYS be present and will be the value of the evaluated NCalc expression. | N/A | N/A |
Colours (2)6 additional
| Parameter | Type | Presence | Purpose | Options | Default |
| Color | Optional | The cell color to use when no issue exists. Affects a cell or row based on the ThresholdAffects parameter. |
|
N/A | |
| Color | Optional | The cell text color to use when no issue exists. Affects a cell or row based on the ThresholdAffects parameter. |
|
N/A |
Additional (6)
| Parameter | Type | Presence | Purpose | Options | Default |
| Boolean | Optional | Whether to color table cells if thresholds are breached, rather than color the text. |
|
true | |
| Color | Optional | The font background color to use. |
|
N/A | |
| Color | Optional | The font color to use. |
|
N/A | |
| Color | Optional | The normal font background color to use. If omitted, no change is made. |
|
N/A | |
| Color | Optional | The normal font color to use. If omitted, no change is made. |
|
N/A | |
| Color | Optional | The normal table cell background color to use. If omitted, no change is made. |
|
N/A |
Formatting (8)3 additional
| Parameter | Type | Presence | Purpose | Options | Default |
| AutoFitBehavior | Optional | The Word autofit behaviour. If omitted, no change is made. |
|
Content | |
| List<String> | Optional | The column alignments. If fewer alignments are made than the number of columns, the last given value is used for the remaining columns. If omitted, no change is made. Supported values: Left, Right and Center. Usage: columnAlignments=Left;Right;Center;...In Excel output files, columns may be automatically aligned based on their type (e.g. numbers are always right-justified), and all column headers are ALWAYS left-justified so their text is not obscured by filter drop-down arrows in the Excel UI. | N/A | N/A | |
| Double | Optional | Override the table style's font size. This is achieved by setting the font size for each table cell. |
|
N/A | |
| CellFormat | Optional | The cell format to use. Options are: 'AllStrings', 'Auto' or 'NumbersAsStrings'. Auto automatically sets the format for the whole column, or it can be forced to a string with AllStrings. To preserve date / time formatting (with dateTimeFormat) but treat only number columns as strings, use NumbersAsStrings. |
|
Auto | |
| TableHorizontalAlignment | Optional | The horizontal alignment of the table on the page (does not affect Excel output). |
|
Left | |
| Double | Optional | The percentage of the available page that the table should occupy. |
|
N/A | |
| String | Optional | Use Word's built in Table Styles (such as Grid Table 2 - Accent 1), or make your own in the Report Template. Built-in styles can be used in any document. Note that any custom styles you create, or customisations to the standard styles required that the styles exist in the input template XML (because they are not saved in Word documents by default). This can be achieved by assigning the style to a table, then delete the table and save the document. | N/A | Table Grid | |
| XlsxTableStyle | Optional | The XLSX table style to use in any XLSX output document. |
|
TableStyleMedium13 |
Additional (3)
| Parameter | Type | Presence | Purpose | Options | Default |
| Boolean | Optional | Change the font weight (true=strong, false=normal). If omitted, no change is made. |
|
N/A | |
| Boolean | Optional | Change the normal font weight (true=strong, false=normal). If omitted, no change is made. |
|
N/A | |
| Double | Optional | Change the normal font size in points. If omitted, no change is made. |
|
N/A |
Conditional Formatting (10)69 additional
| Parameter | Type | Presence | Purpose | Options | Default |
| Color | Optional | The critical cell background color to use. If omitted, no change is made. Affects a cell or row based on the ThresholdAffects parameter. |
|
Color [A=255, R=192, G=0, B=0] | |
| Color | Optional | The critical cell text color to use. If omitted, no change is made. Affects a cell or row based on the ThresholdAffects parameter. |
|
N/A | |
| Color | Optional | The error cell background color to use. If omitted, no change is made. Affects a cell or row based on the ThresholdAffects parameter. |
|
Color [A=255, R=240, G=128, B=0] | |
| Color | Optional | The error cell text color to use. If omitted, no change is made. Affects a cell or row based on the ThresholdAffects parameter. |
|
N/A | |
| Color | Optional | The fatal cell background color to use. If omitted, no change is made. Affects a cell or row based on the ThresholdAffects parameter. |
|
Color [A=255, R=150, G=0, B=0] | |
| Color | Optional | The fatal cell text color to use. If omitted, no change is made. Affects a cell or row based on the ThresholdAffects parameter. |
|
N/A | |
| Color | Optional | The info cell background color to use. If omitted, no change is made. Affects a cell or row based on the ThresholdAffects parameter. |
|
Color [A=255, R=0, G=213, B=213] | |
| Color | Optional | The info cell text color to use. If omitted, no change is made. Affects a cell or row based on the ThresholdAffects parameter. |
|
N/A | |
| Color | Optional | The warning cell background color to use. If omitted, no change is made. Affects a cell or row based on the ThresholdAffects parameter. |
|
Color [A=255, R=240, G=192, B=0] | |
| Color | Optional | The warning cell text color to use. If omitted, no change is made. Affects a cell or row based on the ThresholdAffects parameter. |
|
N/A |
Additional (69)
| Parameter | Type | Presence | Purpose | Options | Default |
| DateTimeOffset | Optional | The macro is considered 'critical' if the output is after this DateTime UTC. | N/A | N/A | |
| DateTimeOffset | Optional | The macro is considered 'critical' if the output is before this DateTime UTC. | N/A | N/A | |
| String | Optional | The macro is considered 'critical' if the output is equal to this value. | N/A | N/A | |
| Color | Optional | The critical font background color to use. If omitted, no change is made. |
|
N/A | |
| Boolean | Optional | Change the font weight (true=strong, false=normal). If omitted, no change is made. |
|
N/A | |
| Color | Optional | The critical font color to use. If omitted, no change is made. |
|
N/A | |
| Double | Optional | Change the critical font size in points. If omitted, no change is made. |
|
N/A | |
| String | Optional | The macro is considered 'critical' if the output is greater than or equal to this value. | N/A | N/A | |
| String | Optional | The macro is considered 'critical' if the output is greater than this value. | N/A | N/A | |
| String | Optional | The macro is considered 'critical' if the expression evaluates to true. Use 'value' as the macro output in the expression. | N/A | N/A | |
| String | Optional | The macro is considered 'critical' if the output is less than or equal to this value. | N/A | N/A | |
| String | Optional | The macro is considered 'critical' if the output is less than this value. | N/A | N/A | |
| String | Optional | The macro is considered 'critical' if the output is not equal to this value. | N/A | N/A | |
| Color | Optional | The critical table cell background color to use. |
|
N/A | |
| DateTimeOffset | Optional | The macro is considered 'error' if the output is after this DateTime UTC. | N/A | N/A | |
| DateTimeOffset | Optional | The macro is considered 'error' if the output is before this DateTime UTC. | N/A | N/A | |
| String | Optional | The macro is considered 'error' if the output is equal to this value. | N/A | N/A | |
| Color | Optional | The error font background color to use. If omitted, no change is made. |
|
N/A | |
| Boolean | Optional | Change the error font weight (true=strong, false=normal). If omitted, no change is made. |
|
N/A | |
| Color | Optional | The error font color to use. If omitted, no change is made. |
|
N/A | |
| Double | Optional | Change the error font size in points. If omitted, no change is made. |
|
N/A | |
| String | Optional | The macro is considered 'error' if the output is greater than or equal to this value. | N/A | N/A | |
| String | Optional | The macro is considered 'error' if the output is greater than this value. | N/A | N/A | |
| String | Optional | The macro is considered 'error' if the expression evaluates to true. Use 'value' as the macro output in the expression. | N/A | N/A | |
| String | Optional | The macro is considered 'error' if the output is less than or equal to this value. | N/A | N/A | |
| String | Optional | The macro is considered 'error' if the output is less than this value. | N/A | N/A | |
| String | Optional | The macro is considered 'error' if the output is not equal to this value. | N/A | N/A | |
| Color | Optional | The error table cell background color to use. |
|
N/A | |
| DateTimeOffset | Optional | The macro is considered 'fatal' if the output is after this DateTime UTC. | N/A | N/A | |
| DateTimeOffset | Optional | The macro is considered 'fatal' if the output is before this DateTime UTC. | N/A | N/A | |
| String | Optional | The macro is considered 'fatal' if the output is equal to this value. | N/A | N/A | |
| Color | Optional | The fatal font background color to use. If omitted, no change is made. |
|
N/A | |
| Boolean | Optional | Change the fatal font weight (true=strong, false=normal). If omitted, no change is made. |
|
N/A | |
| Color | Optional | The fatal font color to use. If omitted, no change is made. |
|
N/A | |
| Double | Optional | Change the fatal font size in points. If omitted, no change is made. |
|
N/A | |
| String | Optional | The macro is considered 'fatal' if the output is greater than or equal to this value. | N/A | N/A | |
| String | Optional | The macro is considered 'fatal' if the output is greater than this value. | N/A | N/A | |
| String | Optional | The macro is considered 'fatal' if the output is less than or equal to this value. | N/A | N/A | |
| String | Optional | The macro is considered 'fatal' if the output is less than this value. | N/A | N/A | |
| String | Optional | The macro is considered 'fatal' if the output is not equal to this value. | N/A | N/A | |
| Color | Optional | The fatal table cell background color to use. |
|
N/A | |
| DateTimeOffset | Optional | The macro is considered 'info' if the output is after this DateTime UTC. | N/A | N/A | |
| DateTimeOffset | Optional | The macro is considered 'info' if the output is before this DateTime UTC. | N/A | N/A | |
| String | Optional | The macro is considered 'info' if the output is equal to this value. | N/A | N/A | |
| Color | Optional | The info font background color to use. If omitted, no change is made. |
|
N/A | |
| Boolean | Optional | Change the info font weight (true=strong, false=normal). If omitted, no change is made. |
|
N/A | |
| Color | Optional | The info font color to use. If omitted, no change is made. |
|
N/A | |
| Double | Optional | Change the info font size in points. If omitted, no change is made. |
|
N/A | |
| String | Optional | The macro is considered 'info' if the output is greater than or equal to this value. | N/A | N/A | |
| String | Optional | The macro is considered 'info' if the output is greater than this value. | N/A | N/A | |
| String | Optional | The macro is considered 'info' if the expression evaluates to true. Use 'value' as the macro output in the expression. | N/A | N/A | |
| String | Optional | The macro is considered 'info' if the output is less than or equal to this value. | N/A | N/A | |
| String | Optional | The macro is considered 'info' if the output is less than this value. | N/A | N/A | |
| String | Optional | The macro is considered 'info' if the output is not equal to this value. | N/A | N/A | |
| Color | Optional | The info table cell background color to use. |
|
N/A | |
| DateTimeOffset | Optional | The macro is considered 'warning' if the output is after this DateTime UTC. | N/A | N/A | |
| DateTimeOffset | Optional | The macro is considered 'warning' if the output is before this DateTime UTC. | N/A | N/A | |
| String | Optional | The macro is considered 'warning' if the output is equal to this value. | N/A | N/A | |
| Color | Optional | The warning font background color to use. If omitted, no change is made. |
|
N/A | |
| Boolean | Optional | Change the warning font weight (true=strong, false=normal). If omitted, no change is made. |
|
N/A | |
| Color | Optional | The warning font color to use. If omitted, no change is made. |
|
N/A | |
| Double | Optional | Change the warning font size in points. If omitted, no change is made. |
|
N/A | |
| String | Optional | The macro is considered 'warning' if the output is greater than or equal to this value. | N/A | N/A | |
| String | Optional | The macro is considered 'warning' if the output is greater than this value. | N/A | N/A | |
| String | Optional | The macro is considered 'warning' if the expression evaluates to true. Use 'value' as the macro output in the expression. | N/A | N/A | |
| String | Optional | The macro is considered 'warning' if the output is less than or equal to this value. | N/A | N/A | |
| String | Optional | The macro is considered 'warning' if the output is less than this value. | N/A | N/A | |
| String | Optional | The macro is considered 'warning' if the output is not equal to this value. | N/A | N/A | |
| Color | Optional | The warning table cell background color to use. |
|
N/A |
Time & Date (1)
| Parameter | Type | Presence | Purpose | Options | Default |
| String | Optional | The date/time format to use. Use the format specified here: https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings. When the format parameter is set to AllStrings, this is ignored unless you use NumbersAsStrings. Note however that this parameter only has an effect if all the values in the column are the same type. | N/A | yyyy-MM-dd |
Filtering & Sorting (4)5 additional
| Parameter | Type | Presence | Purpose | Options | Default |
| String | Optional | The condition on which each row is included. Fields should be referred to based on the column name in curly braces, for example: includeCondition ='{CreatedOn}'>'{StartOfLastMonth}'. | N/A | N/A | |
| String | Optional | If present, sorts alphanumerically by this column. | N/A | N/A | |
| String | Optional | If present, sorts reverse alphanumerically by this column. | N/A | N/A | |
| Int32 | Optional | Only display up to this number of rows. |
|
N/A |
Additional (5)
| Parameter | Type | Presence | Purpose | Options | Default |
| String | Optional | For advanced filtering, use the LogicMonitor API's filtering system. This feature is only supported through professional services. | N/A | N/A | |
| String | Optional | Specify the property that you want to filter on, e.g. system.sysinfo. If filterProperty is set, filterPropertyValue is mandatory. | N/A | N/A | |
| TildaOptionString | Optional | specify the value that you want to filter on, e.g. Microsoft Windows Server 2008 R2 Standard. May be specified as "filterPropertyValue=value" to match all devices where the specified property equals 'value', or "filterPropertyValue~=value" to match all devices where the specified property contains 'value'. Ignored if filterProperty is not set. | N/A | N/A | |
| String | Optional | Only include devices that match this LogicMonitor AppliesTo query. For example, "isCisco()" for Cisco devices. See LogicMonitor documentation for more details. Use backticks to surround the query, instead of double quotes. Note that if you reference a custom property in the query and that property name includes special characters (such as :, /, *, = or spaces) then you will need to use the getPropValue(" |
N/A | N/A | |
| Boolean | Optional | Eliminate duplicates if set to true. |
|
false |
Output (2)8 additional
| Parameter | Type | Presence | Purpose | Options | Default |
| String | Optional | If present, and the table has no rows, the specified text will be inserted in place of the table. | N/A | N/A | |
| Boolean | Optional | Whether to output the result in the output Excel document (if so configured). |
|
true |
Additional (8)
| Parameter | Type | Presence | Purpose | Options | Default |
| Char | Optional | The delimiter to use between multiple items in the output. | N/A | ; | |
| String | Optional | The text to display should the macro fail to execute. Note that a poorly-specified macro (e.g. omitting mandatory parameters) will still result in an error message. | N/A | N/A | |
| String | Optional | The name of a variable to create should the macro fail to execute. The variable will be a text variable, and will contain either the failure text (only if the failureText parameter is set), otherwise it will contain the exception / failure message. | N/A | N/A | |
Normal mode |
Boolean | Optional | Any macros that output lists can optionally (in Normal mode) output a jArray instead. |
|
true |
| String | Optional | The variable to store the result as. | N/A | N/A | |
| String | Optional | The variable to store the result as, while hiding the output. Equivalent to 'storeAs=ThisValue, hidden=true'. | N/A | N/A | |
| Char | Optional | The delimiter used by storeAs to split the input (Legacy mode only), when there are multiple stored variables. For example, in this macro, we indicate that the value to be stored should be split by the asterisk when being stored: [String:value=a*b*c*d, storeAs=var1;var2;var3;var4, storeAsVariableDelimiter=*] | N/A | ; | |
| String | Optional | The name of the STRING variable to store the result as and output (both will use the same format) into the report. Note that if you also use 'storeAsHidden' in the same macro, you should not expect the output to be hidden, as this parameter overrides that. | N/A | N/A |
General (7)22 additional
| Parameter | Type | Presence | Purpose | Options | Default |
| List<String> | Optional | The column names to show. If the columns parameter is not specified, the Macro's default will be used. | N/A | N/A | |
| Boolean | Optional | Whether to de-camel-case the header row (i.e. convert 'MyHeaderText' to 'My Header Text'. |
|
false | |
| Boolean | Optional | Whether to repeat the header row at the beginning of each page. |
|
true | |
| String | Optional | The table name (e.g. for XLSX output) | N/A | Table | |
| ThresholdAffects | Optional | What the threshold affects. |
|
Cell | |
| String | Optional | The threshold column. | N/A | N/A | |
| String | Optional | The worksheet to save the result in the output Excel document (if so configured). Excel does not allow blank names, names above 31 characters, and the following characters: :, /, \, ?, *, [, ] | N/A | Table |
Additional (22)
| Parameter | Type | Presence | Purpose | Options | Default |
| String | Optional | Add a comment to make your document template more readable. The comment is discarded in the output document. | N/A | N/A | |
| String | Optional | The name of the LogicMonitor Connection. | N/A | N/A | |
| DateTimeOffset | Optional | Only include devices that were created before this time (UTC). | N/A | N/A | |
| String | Optional | The name of the DataSource that you want to filter by, i.e. only include devices that have this DataSource. One or more DataSource instances must be present on this device for it to be included, unless an instanceCount parameter is specified (e.g. instanceCountGe=0). Please note that there is a significant performance overhead associated with using this parameter. | N/A | N/A | |
| String | Optional | The DataSource instance alias that you want to filter by i.e. only include devices that have this DataSource instance alias present. When set, dataSourceExists is mandatory. | N/A | N/A | |
| String | Optional | The DataSource instance group that you want to filter by i.e. only include devices that have this DataSource Instance Group name present. When set, dataSourceExists is mandatory. | N/A | N/A | |
| String | Optional | The DataSource instance alias that you want to filter by i.e. only include devices that have this DataSource instance name present. When set, dataSourceExists is mandatory. | N/A | N/A | |
| ExecutionResult | Optional | If specified, asserts the expected execution result of the macro. The macro executes normally; if the actual result matches the desired value, the result is converted to Success. If the actual result does not match, the result is converted to MacroError with a descriptive message. This is primarily used for testing and diagnostic purposes. Valid values are: Unknown, Success, MacroError, WorkerStopped, Running, Warning, NeverRun, Cancelled, Pending, Paused, SystemError, Deferred, Stopped. |
|
N/A | |
| List<String> | Optional | The Device Group or Device Groups (semi-colon separated). Use "/" or no value to reference the root folder. | N/A | / | |
| String | Optional | If specified, asserts the expected output type of the macro result. The macro executes normally; if the actual type does not match, a macro error is generated. Requires 'storeAs', 'storeAsHidden', or 'storeFormattedValueAs' to be set for typed validation. Valid types include CLR names (e.g. Int32, Int64, Single, Double, Boolean, String, JArray, JObject) and C# keyword aliases (e.g. int, long, float, double, bool, string, uint, ulong, short, ushort, byte, sbyte, decimal, char, object). The special value 'Number' matches any numeric type. | N/A | N/A | |
| String | Optional | If specified, asserts the expected output value of the macro result. The macro executes normally; if the actual value does not match, a macro error is generated. When 'storeAs' or 'storeAsHidden' is set, the stored variable value is compared. Otherwise, the document output text is compared. | N/A | N/A | |
| Int32 | Optional | Only include the devices where the number of matching instances is equal to the integer value specified. Applies when dataSourceExists is used. | N/A | N/A | |
| Int32 | Optional | Only include the devices where the number of matching instances is greater than or equal to the integer value specified. Applies when dataSourceExists is used. | N/A | N/A | |
| Int32 | Optional | Only include the devices where the number of matching instances is greater than the integer value specified. Applies when dataSourceExists is used. | N/A | N/A | |
| Int32 | Optional | Only include the devices where the number of matching instances is less than or equal to the integer value specified. Applies when dataSourceExists is used. | N/A | N/A | |
| Int32 | Optional | Only include the devices where the number of matching instances is less than the integer value specified. Applies when dataSourceExists is used. | N/A | N/A | |
| Int32 | Optional | Only include the devices where the number of matching instances is not equal to the integer value specified. Applies when dataSourceExists is used. | N/A | N/A | |
| Boolean | Optional | When specified only brings back DeviceGroups where the alerting is/is not enabled |
|
N/A | |
| String | Optional | Return the specified property. May be one of the following or any custom device property:
|
N/A | DisplayName | |
Normal mode |
Boolean | Optional | In Normal Mode and for macros that output JArrays only, whether to convert a JArray of single-property jObjects into a flat JArray of values. |
|
false |
| String | Optional | Only include devices in this status. Supported values: Dead and Normal. | N/A | N/A | |
| DeviceListType | Optional | Whether to include Devices, Services, or both. |
|
Device |
Deprecated (4)4 additional
| Parameter | Type | Preferred Parameter | Purpose | Options | Default |
| List<String> | columnAlignments | The column alignments. If fewer alignments are made than the number of columns, the last given value is used for the remaining columns. If omitted, no change is made. Supported values: Left, Right and Center. Usage: columnAlignments=Left;Right;Center;...In Excel output files, columns may be automatically aligned based on their type (e.g. numbers are always right-justified), and all column headers are ALWAYS left-justified so their text is not obscured by filter drop-down arrows in the Excel UI. | N/A | N/A | |
| List<String> | columnAlignments | The column alignments. If fewer alignments are made than the number of columns, the last given value is used for the remaining columns. If omitted, no change is made. Supported values: Left, Right and Center. Usage: columnAlignments=Left;Right;Center;...In Excel output files, columns may be automatically aligned based on their type (e.g. numbers are always right-justified), and all column headers are ALWAYS left-justified so their text is not obscured by filter drop-down arrows in the Excel UI. | N/A | N/A | |
| AutoFitBehavior | autoFit | The Word autofit behaviour. If omitted, no change is made. |
|
Content | |
| Int32 | take | Only display up to this number of rows. |
|
N/A |
Additional (4)
| Parameter | Type | Preferred Parameter | Purpose | Options | Default |
| List<String> | deviceGroup | The Device Group or Device Groups (semi-colon separated). Use "/" or no value to reference the root folder. | N/A | / | |
| List<String> | deviceGroup | The Device Group or Device Groups (semi-colon separated). Use "/" or no value to reference the root folder. | N/A | / | |
| List<String> | deviceGroup | The Device Group or Device Groups (semi-colon separated). Use "/" or no value to reference the root folder. | N/A | / | |
| Boolean | recurseDeviceGroups | Include devices in all child folders. |
|
true |
Examples (4)
Example 1
[LogicMonitor.DeviceTable: deviceGroup=PDL - Panoramic Data/Datacenter, columns=HostName;Description;Properties, style=Grid Table 5 Dark - Accent 4, autoFit=Window]Example 2
[LogicMonitor.DeviceTable: deviceGroup=PDL - Panoramic Data, columns=HostName;DisplayedAs;Type;Status;AlertsAreAcknowledged;AlertLevel;AlertsAreInSdt]Example 3
Only include devices currently in an error state
[LogicMonitor.DeviceTable: deviceGroup=PDL - Panoramic Data, columns=HostName;DisplayedAs;Type;Status;AlertsAreAcknowledged;AlertLevel;AlertsAreInSdt, includeCondition=`'{AlertLevel}' == 'Error'`]Example 4
Inserts a table of recently-added devices per top-level device group. See also the 'LogicMonitor Recently Added Devices' Report in the Report Template Library
[DateTime:storeAs=StartOfThisMonth, format=yyyy-MM-01, hidden=true]
Devices added after [DateTime:value={StartOfThisMonth},addMonths=-1,storeAs=StartOfLastMonth]
[Settings: LogicMonitor.DeviceTable.style=Grid Table 4 - Accent 2, LogicMonitor.DeviceTable.autoFit=Window, LogicMonitor.DeviceTable.columns=HostName;CreatedOn, LogicMonitor.DeviceTable.orderByDescending=CreatedOn]
[LogicMonitor.DeviceGroupList: storeAs=TopLevelGroups, deviceGroup=/, hidden=true]
[ForEach: values={TopLevelGroups}, storeAs=CurrentGroup]
Device Group: [String: value={CurrentGroup}]
[LogicMonitor.DeviceTable: deviceGroup={CurrentGroup}, recurseDeviceGroups=true, includeCondition = '{CreatedOn}'>'{StartOfLastMonth}', emptyTableText=No recently-added devices.]
[ForEachEnd:]