> = tostring('<>', \"duration\") ]\n| search priority=\"$tk_priority$\" AND monitored_state=\"enabled\"\n| fields tenant_id, object, object_category, percent_sla, priority, monitored_state, range_duration, green_time, not_green_time\n| rename range_duration as \"total duration\", green_time as \"duration green\", not_green_time as \"duration not green\"", "queryParameters": { "earliest": "$global_time.earliest$", "latest": "$global_time.latest$" } }, "name": "table_sla" }, "ds_Q8G1MpD1": { "type": "ds.chain", "options": { "extend": "ds_OXKeKxE8", "query": "| stats avg(percent_sla) as avg" }, "name": "single_sla" } }, "visualizations": { "viz_29HlXL59": { "type": "splunk.image", "options": { "preserveAspectRatio": true, "src": "../../static/app/trackme/icons/trackme.png" } }, "viz_kkzyyTTf": { "type": "splunk.table", "options": { "count": 50, "columnFormat": { "tenant_id": { "width": 150 }, "object_category": { "width": 150 }, "object": { "width": 450 }, "percent_sla": { "data": "> table | seriesByName(\"percent_sla\") | formatByType(percent_slaColumnFormatEditorConfig)", "rowColors": "> table | seriesByName(\"percent_sla\") | rangeValue(percent_slaRowColorsEditorConfig)", "width": 150 }, "priority": { "data": "> table | seriesByName(\"priority\") | formatByType(priorityColumnFormatEditorConfig)", "rowColors": "> table | seriesByName(\"priority\") | matchValue(priorityRowColorsEditorConfig)", "width": 100 }, "monitored_state": { "data": "> table | seriesByName(\"monitored_state\") | formatByType(monitored_stateColumnFormatEditorConfig)", "rowColors": "> table | seriesByName(\"monitored_state\") | matchValue(monitored_stateRowColorsEditorConfig)", "width": 150 }, "total duration": { "width": 185 }, "duration green": { "width": 185 }, "duration not green": { "width": 185 } } }, "dataSources": { "primary": "ds_OXKeKxE8" }, "context": { "percent_slaColumnFormatEditorConfig": { "number": { "thousandSeparated": false, "unitPosition": "after", "unit": "%", "precision": 2 } }, "percent_slaRowColorsEditorConfig": [ { "value": "#dc4e41", "to": 50 }, { "value": "#dc4e41", "from": 50, "to": 80 }, { "value": "#f1813f", "from": 80, "to": 90 }, { "value": "#45D4BA", "from": 90 } ], "priorityColumnFormatEditorConfig": { "string": { "unitPosition": "after" } }, "priorityRowColorsEditorConfig": [ { "match": "low", "value": "#5C33FF" }, { "match": "medium", "value": "#207865" }, { "match": "high", "value": "#AD3F20" } ], "monitored_stateColumnFormatEditorConfig": { "string": { "unitPosition": "after" } }, "monitored_stateRowColorsEditorConfig": [ { "match": "disabled", "value": "#78062a" }, { "match": "enabled", "value": "#207865" } ] }, "eventHandlers": [ { "type": "drilldown.linkToDashboard", "options": { "app": "trackme", "dashboard": "trackMe_sla_flip", "tokens": [ { "token": "tk_tenant_id", "value": "row.tenant_id.value" }, { "token": "tk_object_category", "value": "row.object_category.value" }, { "token": "tk_object", "value": "row.object.value" } ] } } ], "title": "SLA percentage per tenant / object", "description": "Click on a row to see flipping events for this object" }, "viz_ACR5b0DN": { "type": "splunk.singlevalueradial", "options": { "unit": "%", "numberPrecision": 2, "majorColor": "> majorValue | rangeValue(majorColorEditorConfig)", "backgroundColor": "transparent" }, "dataSources": { "primary": "ds_Q8G1MpD1" }, "context": { "majorColorEditorConfig": [ { "to": 50, "value": "#dc4e41" }, { "from": 50, "to": 90, "value": "#f1813f" }, { "from": 90, "value": "#45D4BA" } ] } } }, "inputs": { "input_global_trp": { "type": "input.timerange", "options": { "token": "global_time", "defaultValue": "-90d@d,now" }, "title": "Period:" }, "input_uHIQHlyb": { "options": { "items": ">frame(label, value) | prepend(formattedStatics) | objects()", "token": "tk_tenant_id" }, "title": "tenant_id:", "type": "input.dropdown", "dataSources": { "primary": "ds_4LUsXK1K" }, "context": { "formattedConfig": { "number": { "prefix": "" } }, "formattedStatics": ">statics | formatByType(formattedConfig)", "statics": [], "label": ">primary | seriesByName(\"tenant_id\") | renameSeries(\"label\") | formatByType(formattedConfig)", "value": ">primary | seriesByName(\"tenant_id\") | renameSeries(\"value\") | formatByType(formattedConfig)" } }, "input_nAuOVL6b": { "options": { "items": [ { "label": "All", "value": "*" } ], "defaultValue": "*", "token": "tk_object_category" }, "title": "object_category:", "type": "input.dropdown", "dataSources": { "primary": "ds_KWAYq9tR" }, "context": {} }, "input_qszD4uG4": { "options": { "items": ">frame(label, value) | prepend(formattedStatics) | objects()", "defaultValue": "*", "token": "tk_object" }, "title": "object:", "type": "input.dropdown", "dataSources": { "primary": "ds_RiJ5iY8a" }, "context": { "formattedConfig": { "number": { "prefix": "" } }, "formattedStatics": ">statics | formatByType(formattedConfig)", "statics": [ [ "All" ], [ "*" ] ], "label": ">primary | seriesByName(\"object\") | renameSeries(\"label\") | formatByType(formattedConfig)", "value": ">primary | seriesByName(\"object\") | renameSeries(\"value\") | formatByType(formattedConfig)" } }, "input_YueZVL1a": { "options": { "items": [ { "label": "All", "value": "*" }, { "label": "high", "value": "high" }, { "label": "medium", "value": "medium" }, { "label": "low", "value": "low" } ], "defaultValue": "*", "token": "tk_priority" }, "title": "priority:", "type": "input.dropdown" } }, "layout": { "type": "absolute", "options": { "height": 1080, "width": 1920 }, "structure": [ { "item": "viz_29HlXL59", "type": "block", "position": { "x": 1630, "y": 30, "w": 120, "h": 60 } }, { "item": "viz_kkzyyTTf", "type": "block", "position": { "x": 0, "y": 160, "w": 1750, "h": 900 } }, { "item": "viz_ACR5b0DN", "type": "block", "position": { "x": 820, "y": 10, "w": 250, "h": 150 } } ], "globalInputs": [ "input_global_trp", "input_uHIQHlyb", "input_nAuOVL6b", "input_YueZVL1a", "input_qszD4uG4" ] }, "title": "TrackMe - Quality Of Service Auditing - SLA compliance reporting", "defaults": { "dataSources": { "ds.search": { "options": { "queryParameters": { "latest": "$global_time.latest$", "earliest": "$global_time.earliest$" } } } } }, "description": "" } ]]>