You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
322 lines
7.8 KiB
322 lines
7.8 KiB
<dashboard version="2" theme="dark">
|
|
<label>TrackMe - Quality Of Service Auditing - SLA compliance reporting (drilldow view)</label>
|
|
<description>The SLA percentage represents the percentage of time an object has spent in green state, which complies with monitoring rules and quality of service</description>
|
|
<definition><![CDATA[
|
|
{
|
|
"dataSources": {
|
|
"ds_Mg04DNO6": {
|
|
"type": "ds.search",
|
|
"options": {
|
|
"query": "| mcatalog values(metric_name) as metrics where `trackme_idx_search_filter` metric_name=trackme.sla.object_state [ | trackmeload mode=expanded | table _raw | spath | fields - _raw | fillnull tenant_replica | search tenant_dsm_enabled=1 AND tenant_replica!=1 | table tenant_id ] by tenant_id, object_category, object\n| fields tenant_id, object_category, object",
|
|
"queryParameters": {
|
|
"earliest": "$global_time.earliest$",
|
|
"latest": "$global_time.latest$"
|
|
}
|
|
},
|
|
"name": "populate_tenants"
|
|
},
|
|
"ds_4LUsXK1K": {
|
|
"type": "ds.chain",
|
|
"options": {
|
|
"extend": "ds_Mg04DNO6",
|
|
"query": "| stats count by tenant_id \n| sort 0 tenant_id"
|
|
},
|
|
"name": "populate_tenant_id"
|
|
},
|
|
"ds_KWAYq9tR": {
|
|
"type": "ds.chain",
|
|
"options": {
|
|
"extend": "ds_Mg04DNO6",
|
|
"query": "| search tenant_id=\"$tk_tenant_id$\"\n| stats count by object_category\n| sort 0 object_category"
|
|
},
|
|
"name": "populate_object_category"
|
|
},
|
|
"ds_RiJ5iY8a": {
|
|
"type": "ds.chain",
|
|
"options": {
|
|
"extend": "ds_Mg04DNO6",
|
|
"query": "| search tenant_id=\"$tk_tenant_id$\" object_category=\"$tk_object_category$\"\n| stats c by object\n| sort 0 object"
|
|
},
|
|
"name": "populate_object"
|
|
},
|
|
"ds_OXKeKxE8": {
|
|
"type": "ds.search",
|
|
"options": {
|
|
"query": "`trackme_idx(\"$tk_tenant_id$\")` sourcetype=\"trackme:flip\" tenant_id=\"$tk_tenant_id$\" object_category=\"$tk_object_category$\" object=\"$tk_object$\" | eval separator = \"-->\" | dedup _time object object_category object_previous_state object_state | table _time object object_category object_previous_state separator object_state result | rename separator as \" \" | `trackme_eval_noicons_flip` | fields _time object object_category object_previous_state \" \" object_state | sort - limit=0 _time",
|
|
"queryParameters": {
|
|
"earliest": "$global_time.earliest$",
|
|
"latest": "$global_time.latest$"
|
|
}
|
|
},
|
|
"name": "table_flip"
|
|
},
|
|
"ds_Q8G1MpD1": {
|
|
"type": "ds.chain",
|
|
"options": {
|
|
"extend": "ds_OXKeKxE8",
|
|
"query": "| timechart minspan=15m bins=1000 count as flip_events"
|
|
},
|
|
"name": "overtime_flip"
|
|
},
|
|
"ds_w1veXQwY": {
|
|
"type": "ds.chain",
|
|
"options": {
|
|
"extend": "ds_OXKeKxE8",
|
|
"query": "| stats count"
|
|
},
|
|
"name": "single_flip"
|
|
}
|
|
},
|
|
"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": "#D41F1F",
|
|
"to": 20
|
|
},
|
|
{
|
|
"value": "#D94E17",
|
|
"from": 20,
|
|
"to": 40
|
|
},
|
|
{
|
|
"value": "#CBA700",
|
|
"from": 40,
|
|
"to": 60
|
|
},
|
|
{
|
|
"value": "#669922",
|
|
"from": 60,
|
|
"to": 80
|
|
},
|
|
{
|
|
"value": "#118832",
|
|
"from": 80
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"title": "Flipping statuses events table",
|
|
"description": "These events occur when an object changes from a state to another"
|
|
},
|
|
"viz_cZ5CiteD": {
|
|
"type": "splunk.column",
|
|
"dataSources": {
|
|
"primary": "ds_Q8G1MpD1"
|
|
},
|
|
"showProgressBar": false,
|
|
"showLastUpdated": false,
|
|
"title": "Flipping statuses events over time",
|
|
"description": "These events occur when an object changes from a state to another",
|
|
"options": {
|
|
"dataValuesDisplay": "all",
|
|
"xAxisTitleText": "flipping events count",
|
|
"yAxisTitleText": "count"
|
|
}
|
|
},
|
|
"viz_DKb2WaAF": {
|
|
"type": "splunk.singlevalue",
|
|
"options": {
|
|
"backgroundColor": "transparent",
|
|
"majorColor": "#62b3b2"
|
|
},
|
|
"dataSources": {
|
|
"primary": "ds_w1veXQwY"
|
|
},
|
|
"title": "",
|
|
"description": ""
|
|
},
|
|
"viz_9SCh8JZI": {
|
|
"type": "splunk.markdown",
|
|
"options": {
|
|
"markdown": "Number of flipping events detected"
|
|
}
|
|
}
|
|
},
|
|
"inputs": {
|
|
"input_global_trp": {
|
|
"type": "input.timerange",
|
|
"options": {
|
|
"token": "global_time",
|
|
"defaultValue": "-90d@d,now"
|
|
},
|
|
"title": "Period:"
|
|
}
|
|
},
|
|
"layout": {
|
|
"type": "absolute",
|
|
"options": {
|
|
"height": 1080,
|
|
"width": 1920
|
|
},
|
|
"structure": [
|
|
{
|
|
"item": "viz_29HlXL59",
|
|
"type": "block",
|
|
"position": {
|
|
"x": 1630,
|
|
"y": 10,
|
|
"w": 120,
|
|
"h": 60
|
|
}
|
|
},
|
|
{
|
|
"item": "viz_kkzyyTTf",
|
|
"type": "block",
|
|
"position": {
|
|
"x": 0,
|
|
"y": 440,
|
|
"w": 1750,
|
|
"h": 620
|
|
}
|
|
},
|
|
{
|
|
"item": "viz_cZ5CiteD",
|
|
"type": "block",
|
|
"position": {
|
|
"x": 0,
|
|
"y": 120,
|
|
"w": 1750,
|
|
"h": 290
|
|
}
|
|
},
|
|
{
|
|
"item": "viz_DKb2WaAF",
|
|
"type": "block",
|
|
"position": {
|
|
"x": 730,
|
|
"y": 10,
|
|
"w": 190,
|
|
"h": 90
|
|
}
|
|
},
|
|
{
|
|
"item": "viz_9SCh8JZI",
|
|
"type": "block",
|
|
"position": {
|
|
"x": 710,
|
|
"y": 90,
|
|
"w": 230,
|
|
"h": 40
|
|
}
|
|
}
|
|
],
|
|
"globalInputs": [
|
|
"input_global_trp"
|
|
]
|
|
},
|
|
"title": "TrackMe - Quality Of Service Auditing - SLA compliance reporting (drilldow view)",
|
|
"defaults": {
|
|
"dataSources": {
|
|
"ds.search": {
|
|
"options": {
|
|
"queryParameters": {
|
|
"latest": "$global_time.latest$",
|
|
"earliest": "$global_time.earliest$"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"description": "The SLA percentage represents the percentage of time an object has spent in green state, which complies with monitoring rules and quality of service"
|
|
}
|
|
]]> </definition>
|
|
<meta type="hiddenElements"><![CDATA[
|
|
{
|
|
"hideEdit": false,
|
|
"hideOpenInSearch": false,
|
|
"hideExport": false
|
|
}
|
|
]]> </meta>
|
|
</dashboard> |