An error occurred while loading the file. Please try again.
-
Darshan M N authoredab301b4a
{
"applicationStatusWise": {
"chartName": "Applications Status Wise",
"queries": [
{
"module": "COMMON",
"requestQueryMap": "{\r\n \"ts\" : \"timestamp\"}",
"dateRefField": "timestamp",
"indexName": "fs-forms-data",
"esInstance": "QUADNARY",
"aggrQuery": "{\"aggs\":{\"Application Status\":{\"terms\":{\"field\":\"status.keyword\",\"size\":10}}}}"
}
],
"chartType": "bar",
"resultType": "value",
"valueType": "number",
"isDecimal": true,
"action": "",
"filter": "",
"drillChart": "none",
"documentType": "_doc",
"aggregationPaths": [
"Application Status"
],
"isCumulative": false,
"interval": "day",
"alwaysView": "",
"insight": {},
"_comment": " "
},
"applicationSubmissionTrend": {
"chartName": "Application Submission Trend",
"queries": [
{
"module": "COMMON",
"requestQueryMap": "{\r\n \"ts\" : \"timestamp\"}",
"dateRefField": "timestamp",
"indexName": "fs-forms-data",
"esInstance": "QUADNARY",
"aggrQuery": "{\"aggs\":{\"Application Submission Trend\":{\"date_histogram\":{\"field\":\"timestamp\",\"interval\":\"week\"},\"aggs\":{\"count\":{\"cardinality\":{\"field\":\"_id\"}}}}}}"
}
],
"chartType": "line",
"resultType": "doc_count",
"valueType": "number",
"isDecimal": true,
"action": "",
"filter": "",
"drillChart": "none",
"documentType": "_doc",
"aggregationPaths": [
"Application Submission Trend"
],
"isCumulative": false,
"interval": "day",
"alwaysView": "",
"insight": {},
"_comment": " "
},
"totalApplications": {
"chartName": "Total Applications",
"queries": [
{
"module": "COMMON",
"requestQueryMap": "{\r\n \"ts\" : \"timestamp\"}",
"dateRefField": "timestamp",
"indexName": "fs-forms-data",
"esInstance": "QUADNARY",
"aggrQuery": "{\"aggs\":{\"Total Applications\":{\"cardinality\":{\"field\":\"_id\"}}}}"
}
7172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
],
"chartType": "metric",
"resultType": "value",
"valueType": "number",
"isDecimal": false,
"action": "",
"filter": "",
"drillChart": "none",
"documentType": "_doc",
"aggregationPaths": [
"Total Applications"
],
"isCumulative": false,
"interval": "day",
"alwaysView": "",
"insight": {},
"_comment": " "
},
"performingLeadInspectors": {
"chartName": "Performing Lead Inspectors",
"queries": [
{
"module": "COMMON",
"requestQueryMap": "{\r\n \"ts\" : \"timestamp\"}",
"dateRefField": "timestamp",
"indexName": "fs-forms-data",
"esInstance": "QUADNARY",
"aggrQuery": "{\"aggs\":{\"Inspection Completed\":{\"filter\":{\"bool\":{\"filter\":[{\"terms\":{\"inspection.assignedTo.status.keyword\":[\"INSCOMPLETED\"],\"boost\":1}}],\"adjust_pure_negative\":true,\"boost\":1}},\"aggs\":{\"Lead Inspector Status\":{\"terms\":{\"field\":\"inspection.assignedTo.leadInspector\",\"size\":10},\"aggs\":{\"Performing Lead Inspectors\":{\"terms\":{\"field\":\"inspection.assignedTo.firstName.keyword\",\"size\":5}}}}}}}}"
}
],
"chartType": "bar",
"resultType": "",
"valueType": "number",
"isDecimal": true,
"action": "",
"filter": "",
"drillChart": "none",
"documentType": "_doc",
"aggregationPaths": [
"Performing Lead Inspectors"
],
"isCumulative": false,
"interval": "day",
"alwaysView": "",
"insight": {},
"_comment": " "
},
"pendingApprovedRejected": {
"chartName": "Total Pending, Approved and Rejected Applications",
"queries": [
{
"module": "COMMON",
"requestQueryMap": "{\r\n \"ts\" : \"timestamp\"}",
"dateRefField": "timestamp",
"indexName": "fs-forms-data",
"esInstance": "QUADNARY",
"aggrQuery": "{\"aggs\":{\"Only New Approved Rejected\":{\"filter\":{\"bool\":{\"filter\":[{\"terms\":{\"status.keyword\":[\"NEW\",\"APPROVED\",\"REJECTED\"],\"boost\":1}}],\"adjust_pure_negative\":true,\"boost\":1}},\"aggs\":{\"Application Status\":{\"terms\":{\"field\":\"status.keyword\",\"size\":10},\"aggs\":{\"Count of Applications\":{\"cardinality\":{\"field\":\"_id\"}}}}}}}}"
}
],
"chartType": "pie",
"resultType": "doc_count",
"valueType": "number",
"isDecimal": true,
"action": "",
"filter": "",
"drillChart": "none",
"documentType": "_doc",
"aggregationPaths": [
"Application Status"
],
141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
"isCumulative": false,
"interval": "day",
"alwaysView": "",
"insight": {},
"_comment": " "
},
"applicationSubmittedVsInspected": {
"chartName": "Applications Submitted Vs Inspected",
"queries": [
{
"module": "COMMON",
"requestQueryMap": "{\r\n \"ts\" : \"timestamp\"}",
"dateRefField": "timestamp",
"indexName": "fs-forms-data",
"esInstance": "QUADNARY",
"aggrQuery": "{\"aggs\":{\"Application Submission Trend\":{\"date_histogram\":{\"field\":\"timestamp\",\"interval\":\"week\"},\"aggs\":{\"count\":{\"cardinality\":{\"field\":\"_id\"}}}},\"Application Inspection Trend\":{\"date_histogram\":{\"field\":\"inspection.inspectionCompletedDate\",\"interval\":\"week\"},\"aggs\":{\"count\":{\"cardinality\":{\"field\":\"_id\"}}}}}}"
}
],
"chartType": "line",
"resultType": "value",
"valueType": "number",
"isDecimal": true,
"action": "",
"filter": "",
"drillChart": "none",
"documentType": "_doc",
"aggregationPaths": [
"Application Inspection Trend",
"Application Submission Trend"
],
"isCumulative": true,
"interval": "day",
"alwaysView": "",
"insight": {},
"_comment": " "
},
"averageDaysTakenToCompleteInspection": {
"chartName": "Average Days Taken to Complete Inspection",
"queries": [
{
"module": "COMMON",
"requestQueryMap": "{\r\n \"ts\" : \"timestamp\"}",
"dateRefField": "timestamp",
"indexName": "fs-forms-data",
"esInstance": "QUADNARY",
"aggrQuery": ""
}
],
"chartType": "metric",
"resultType": "value",
"valueType": "number",
"isDecimal": true,
"action": "",
"filter": "",
"drillChart": "none",
"documentType": "_doc",
"aggregationPaths": [
"Average Response Days"
],
"isCumulative": true,
"interval": "day",
"alwaysView": "",
"insight": {},
"_comment": " "
}
}