Commit 7436e2a6 authored by Darshan M N's avatar Darshan M N
Browse files

Adding visualizations for SMF DashboardS

parent 7bb90598
No related merge requests found
Showing with 52 additions and 2 deletions
+52 -2
......@@ -7,7 +7,7 @@
"requestQueryMap": "{\r\n \"ts\" : \"timestamp\"}",
"dateRefField": "timestamp",
"indexName": "fs-forms-data",
"esInstance": "QUADNARY",
"esInstance": "PRIMARY",
"aggrQuery": "{\"aggs\":{\"Application Status\":{\"terms\":{\"field\":\"status.keyword\",\"size\":10}}}}"
}
],
......@@ -27,5 +27,34 @@
"alwaysView": "",
"insight": {},
"_comment": " "
},
"applicationSubmissionTrend": {
"chartName": "Application Submission Trend",
"queries": [
{
"module": "COMMON",
"requestQueryMap": "{\r\n \"ts\" : \"timestamp\"}",
"dateRefField": "timestamp",
"indexName": "fs-forms-data",
"esInstance": "PRIMARY",
"aggrQuery": "{\"aggs\":{\"Application Submission Trend\":{\"date_histogram\":{\"field\":\"timestamp\",\"interval\":\"week\"},\"aggs\":{\"count\":{\"cardinality\":{\"field\":\"_id\"}}}}}}"
}
],
"chartType": "line",
"resultType": "value",
"valueType": "number",
"isDecimal": true,
"action": "",
"filter": "",
"drillChart": "none",
"documentType": "_doc",
"aggregationPaths": [
"Application Submission Trend"
],
"isCumulative": false,
"interval": "day",
"alwaysView": "",
"insight": {},
"_comment": " "
}
}
\ No newline at end of file
......@@ -27,7 +27,7 @@
"vizArray": [
{
"id": 111,
"name": "Overview",
"name": "Application Status Count",
"dimensions": {
"height": 250,
"width": 4
......@@ -45,6 +45,27 @@
"headers": []
}
]
},
{
"id": 111,
"name": "Application Submission Trend",
"dimensions": {
"height": 250,
"width": 4
},
"vizType": "bar",
"noUnit": true,
"isCollapsible": false,
"charts": [
{
"id": "applicationSubmissionTrend",
"name": "Application Submission Trend",
"code": "",
"chartType": "line",
"filter": "",
"headers": []
}
]
}
]
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment