The event log report gives a color-coded list of recent log entries. This report is filtered using a mandatory Timespan parameter defaulting to 5 minutes.
Because it relates schedule records to history records the schedule activity report is very environment agnostic. It does not require field modification after upload.
JSON Definition
Copy the following JSON into a text file, and upload to report settings.
Version 7.0 or Higher
{
"Data": [
{
"$type": "SoftwareIDM.PanelModel.Models.Reporting.Report, SoftwareIDM.PanelModel",
"Id": "098a73fd-7d73-4a2f-90b6-3ab2dc29c54f",
"Name": "Identity Panel - Event Log",
"UserId": null,
"UserProfile": false,
"Tags": null,
"Roles": null,
"CacheExpiration": "00:05:00",
"Description": "Audit and troubleshooting report for pulling log history.",
"Parameters": [
{
"$type": "SoftwareIDM.PanelModel.Models.Reporting.SelectReportParameter, SoftwareIDM.PanelModel",
"ValueChoices": [
"5",
"10",
"15",
"30",
"60",
"120",
"480",
"960",
"1920"
],
"Name": "Minutes",
"Description": "How far back to search",
"Required": true,
"Validation": "Double",
"DefaultValue": "5"
},
{
"$type": "SoftwareIDM.PanelModel.Models.Reporting.TextReportParameter, SoftwareIDM.PanelModel",
"Name": "Category",
"Description": "Filter based on category. Enter '*' for all categories",
"Required": true,
"Validation": "",
"DefaultValue": "*"
},
{
"$type": "SoftwareIDM.PanelModel.Models.Reporting.TextReportParameter, SoftwareIDM.PanelModel",
"Name": "Text",
"Description": "Filter based on message. Enter '*' for all messages",
"Required": true,
"Validation": "",
"DefaultValue": "*"
}
],
"Data": [
{
"$type": "SoftwareIDM.PanelModel.Models.Reporting.QueryData, SoftwareIDM.PanelModel",
"Clauses": [
{
"$type": "SoftwareIDM.PanelModel.Models.FilterClause, SoftwareIDM.PanelModel",
"Field": "TimeStamp",
"Operation": "Gte",
"Value": "Ago(Minutes(Memo(\"Minutes\")))",
"ObjectValue": null
},
{
"$type": "SoftwareIDM.PanelModel.Models.FilterClause, SoftwareIDM.PanelModel",
"Field": "Message",
"Operation": "Contains",
"Value": "If(Memo(\"Text\") == \"*\", \"\", Memo(\"Text\"))",
"ObjectValue": null
},
{
"$type": "SoftwareIDM.PanelModel.Models.FilterClause, SoftwareIDM.PanelModel",
"Field": "Category",
"Operation": "Contains",
"Value": "If(Memo(\"Category\") == \"*\", \"\", Memo(\"Category\"))",
"ObjectValue": null
}
],
"SubQueries": [
{
"$type": "SoftwareIDM.PanelModel.Models.SubQuery, SoftwareIDM.PanelModel",
"Operator": "Or",
"Clauses": [
{
"$type": "SoftwareIDM.PanelModel.Models.FilterClause, SoftwareIDM.PanelModel",
"Field": "TimeStamp",
"Operation": "Eq",
"Value": "Ago(Minutes(Memo(\"Minutes\")))",
"ObjectValue": null
},
{
"$type": "SoftwareIDM.PanelModel.Models.FilterClause, SoftwareIDM.PanelModel",
"Field": "Message",
"Operation": "NotNull",
"Value": "Memo(\"Text\")",
"ObjectValue": null
},
{
"$type": "SoftwareIDM.PanelModel.Models.FilterClause, SoftwareIDM.PanelModel",
"Field": "Category",
"Operation": "NotNull",
"Value": "Memo(\"Category\") ",
"ObjectValue": null
}
]
}
],
"MapRule": "",
"MemoRules": [],
"Aliases": null,
"Name": "Logs",
"Type": "SoftwareIDM.PanelModule.Models.LogMessage, SoftwareIDM.PanelModule",
"Include": null,
"Limit": null
}
],
"Relations": [],
"FieldProjections": [
{
"$type": "SoftwareIDM.PanelModel.Models.Reporting.Projection, SoftwareIDM.PanelModel",
"Name": "TimeStamp",
"RelationName": "",
"RelationSide": null,
"ValueRule": "DateTimeFormat(TimeStamp, \"yyyy-MM-dd hh:mm:ss\")"
},
{
"$type": "SoftwareIDM.PanelModel.Models.Reporting.Projection, SoftwareIDM.PanelModel",
"Name": "Category",
"RelationName": "",
"RelationSide": null,
"ValueRule": "Category"
},
{
"$type": "SoftwareIDM.PanelModel.Models.Reporting.Projection, SoftwareIDM.PanelModel",
"Name": "LogLevel",
"RelationName": "",
"RelationSide": null,
"ValueRule": "LogLevel"
},
{
"$type": "SoftwareIDM.PanelModel.Models.Reporting.Projection, SoftwareIDM.PanelModel",
"Name": "EventId",
"RelationName": "",
"RelationSide": null,
"ValueRule": "EventId"
},
{
"$type": "SoftwareIDM.PanelModel.Models.Reporting.Projection, SoftwareIDM.PanelModel",
"Name": "Message",
"RelationName": "",
"RelationSide": null,
"ValueRule": "Message"
}
],
"Transformations": [],
"Styles": [
{
"$type": "SoftwareIDM.PanelModel.Models.Reporting.RowStyle, SoftwareIDM.PanelModel",
"Fields": [
"TimeStamp"
],
"ConditionRule": "Contains(LogLevel, \"Error\")",
"Bold": false,
"Italic": false,
"Hide": false,
"TextColor": "r",
"CellColor": "r"
},
{
"$type": "SoftwareIDM.PanelModel.Models.Reporting.RowStyle, SoftwareIDM.PanelModel",
"Fields": [
"TimeStamp"
],
"ConditionRule": "Contains(LogLevel, \"Warning\")",
"Bold": false,
"Italic": false,
"Hide": false,
"TextColor": "y",
"CellColor": "y"
},
{
"$type": "SoftwareIDM.PanelModel.Models.Reporting.RowStyle, SoftwareIDM.PanelModel",
"Fields": [
"TimeStamp"
],
"ConditionRule": "Contains(LogLevel, \"Information\")",
"Bold": false,
"Italic": false,
"Hide": false,
"TextColor": "g",
"CellColor": "g"
},
{
"$type": "SoftwareIDM.PanelModel.Models.Reporting.RowStyle, SoftwareIDM.PanelModel",
"Fields": [
"TimeStamp"
],
"ConditionRule": "Contains(LogLevel, \"Trace\")",
"Bold": false,
"Italic": false,
"Hide": false,
"TextColor": "b",
"CellColor": "b"
}
],
"Sort": {
"Field": "TimeStamp",
"Direction": "Descending"
}
}
],
"Count": 1
}
Comments
0 comments
Please sign in to leave a comment.