...
Code Block |
---|
"nssNOCTodaysCollection": { "chartName": "NSS_NOC_TODAYS_COLLECTION", "queries": [ { "module": "FIRENOC", "dateRefField": "", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{\"must\":[{\"range\":{\"date\":{\"gt\":\"now-1d\/d\",\"lte\":\"now\"}}}]}},\"aggs\":{\"Todays Collection\":{\"sum\":{\"field\":\"todaysCollectionForPaymentMode\"}}}}}}" } ], "chartType": "metric", "valueType": "amount", "action": "", "drillChart": "none", "aggregationPaths": [ "Todays Collection" ], "insight": { }, "_comment": "NSS FIRE NOC todays collections " }, "nssNOCTotalCollection": { "chartName": "NSS_NOC_TOTAL_COLLECTION", "queries": [ { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\", \"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Total Collection\":{\"sum\":{\"field\":\"todaysCollectionForPaymentMode\"}}}}}}" } ], "chartType": "metric", "valueType": "amount", "action": "", "drillChart": "none", "aggregationPaths": [ "Total Collection" ], "insight": { "chartResponseMap" : "nocTotalCollection", "action" : "differenceOfNumbers", "upwardIndicator" : "positive", "downwardIndicator" : "negative", "textMessage" : "$indicator$value% than last $insightInterval", "colorCode" : "#228B22", "insightInterval" : "year" }, "_comment": "NSS FIRE NOC Total collections " }, "nssNOCTotalApplications": { "chartName": "NSS_NOC_TOTAL_APPLICATIONS", "queries": [ { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Total applications\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}}}}" } ], "chartType": "metric", "valueType": "number", "action": "", "drillChart": "none", "aggregationPaths": [ "Total applications" ], "insight": { "chartResponseMap" : "nocTotalApplications", "action" : "differenceOfNumbers", "upwardIndicator" : "positive", "downwardIndicator" : "negative", "textMessage" : "$indicator$value% than last $insightInterval", "colorCode" : "#228B22", "insightInterval" : "year" }, "_comment": "NSS FIRE NOC Total applications " }, "nssNOCActualIssued": { "chartName": "NSS_NOC_ACTUAL_ISSUED", "queries": [ { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{\"must\":[{\"term\":{\"applicationType.keyword\":\"NEW\"}}]}},\"aggs\":{\"Actual Noc's Issued\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}}}}" } ], "chartType": "metric", "valueType": "number", "action": "", "drillChart": "none", "aggregationPaths": [ "Actual Noc's Issued" ], "insight": { "chartResponseMap" : "nocActualIssued", "action" : "differenceOfNumbers", "upwardIndicator" : "positive", "downwardIndicator" : "negative", "textMessage" : "$indicator$value% than last $insightInterval", "colorCode" : "#228B22", "insightInterval" : "year" }, "_comment": "NSS FIRE NOC Actual Issued " }, "nssNOCCumulativeCollection": { "chartName": "NSS_NOC_TOTAL_CUMULATIVE_COLLECTION", "queries": [ { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Collections\":{\"date_histogram\":{\"field\":\"date\",\"interval\":\"intervalvalue\"},\"aggs\":{\"Sum\":{\"sum\":{\"field\":\"todaysCollectionForPaymentMode\"}}}}}}}}" } ], "chartType": "line", "valueType": "amount", "action": "", "drillChart": "none", "documentType": "_doc", "aggregationPaths": [ "Collections" ], "isCumulative": true, "interval": "month", "insight": { }, "_comment": "NSS FIRE NOC Total cumulative collections " }, "nssNOCAverageDaysToIssueProvisional": { "chartName": "NSS_NOC_AVERAGE_DAYS_TO_ISSUE_PROVISIONAL", "queries": [ { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Average days to issue Provisional NOC\":{\"sum\":{\"field\":\"avgDaysToIssueProvisionalNOCForDepartment\"}}}}}}" } ], "chartType": "metric", "valueType": "number", "action": "", "drillChart": "none", "aggregationPaths": [ "Average days to issue Provisional NOC" ], "insight": { "chartResponseMap" : "nocAvgDayToIssueProvisional", "action" : "differenceOfNumbers", "upwardIndicator" : "positive", "downwardIndicator" : "negative", "textMessage" : "$indicator$value% than last $insightInterval", "colorCode" : "#228B22", "insightInterval" : "year" }, "_comment": "Average days to issue Provisional NOC" }, "nssNOCAverageDaysToIssueActual": { "chartName": "NSS_NOC_AVERAGE_DAYS_TO_ISSUE_ACTUAL", "queries": [ { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Average days to issue Actual NOC\":{\"sum\":{\"field\":\"avgDaysToIssueActualNOCForDepartment\"}}}}}}" } ], "chartType": "metric", "valueType": "number", "action": "", "drillChart": "none", "aggregationPaths": [ "Average days to issue Actual NOC" ], "insight": { "chartResponseMap" : "nocAvgDayToIssueActual", "action" : "differenceOfNumbers", "upwardIndicator" : "positive", "downwardIndicator" : "negative", "textMessage" : "$indicator$value% than last $insightInterval", "colorCode" : "#228B22", "insightInterval" : "year" }, "_comment": "Average days to issue Actual NOC" }, "nssNOCSLAComplianceProvisional": { "chartName": "NSS_NOC_SLA_COMPLIANCE_PROVISIONAL", "queries": [ { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"SLA Compliance (Provisional NOC)\":{\"terms\":{\"field\":\"date\",\"size\":\"1\",\"order\":{\"_key\":\"desc\"}},\"aggs\":{\"Sum\":{\"sum\":{\"field\":\"slaComplianceProvisionalForDepartment\"}}}}}}}}" } ], "chartType": "metric", "valueType": "percentage", "action": "", "drillChart": "none", "aggregationPaths": [ "SLA Compliance (Provisional NOC)" ], "insight": { "chartResponseMap" : "slaCompliance", "action" : "differenceOfNumbers", "upwardIndicator" : "positive", "downwardIndicator" : "negative", "textMessage" : "$indicator$value% than last $insightInterval", "colorCode" : "#228B22", "insightInterval" : "year", "isRoundOff": true }, "_comment": "SLA Compliance (Provisional NOC)" }, "nssNOCSLAComplianceActual": { "chartName": "NSS_NOC_SLA_COMPLIANCE_ACTUAL", "queries": [ { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"SLA Compliance (Actual NOC)\":{\"terms\":{\"field\":\"date\",\"size\":\"1\",\"order\":{\"_key\":\"desc\"}},\"aggs\":{\"Sum\":{\"sum\":{\"field\":\"slaComplianceActualForDepartment\"}}}}}}}}" } ], "chartType": "metric", "valueType": "percentage", "action": "", "drillChart": "none", "aggregationPaths": [ "SLA Compliance (Actual NOC)" ], "insight": { "chartResponseMap" : "slaCompliance", "action" : "differenceOfNumbers", "upwardIndicator" : "positive", "downwardIndicator" : "negative", "textMessage" : "$indicator$value% than last $insightInterval", "colorCode" : "#228B22", "insightInterval" : "year", "isRoundOff": true }, "_comment": "SLA Compliance (Actual NOC)" }, "nssNOCProvisionalIssued": { "chartName": "NSS_NOC_PROVISIONAL_ISSUED", "queries": [ { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{\"must\":[{\"term\":{\"applicationType.keyword\":\"PROVISIONAL\"}}]}},\"aggs\":{\"Provisional Noc's Issued\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}}}}" } ], "chartType": "metric", "valueType": "number", "action": "", "drillChart": "none", "aggregationPaths": [ "Provisional Noc's Issued" ], "insight": { "chartResponseMap" : "nocProvisionalIssued", "action" : "differenceOfNumbers", "upwardIndicator" : "positive", "downwardIndicator" : "negative", "textMessage" : "$indicator$value% than last $insightInterval", "colorCode" : "#228B22", "insightInterval" : "year" }, "_comment": "NSS FIRE NOC Provisional Issued " }, "nssNOCApplicationVsProvisionalVsActual": { "chartName": "NSS_APPLICATION_VS_PROVISIONAL_VS_ACTUAL", "queries": [ { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Total Applications\":{\"date_histogram\":{\"field\":\"date\",\"interval\":\"intervalvalue\"},\"aggs\":{\"Applications\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}},\"Provisional NOCs Issued\":{\"date_histogram\":{\"field\":\"date\",\"interval\":\"intervalvalue\"},\"aggs\":{\"Provisional\":{\"filter\":{\"bool\":{\"must\":[{\"term\":{\"applicationType.keyword\":\"PROVISIONAL\"}}]}},\"aggs\":{\"Provisional Noc's Issued\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}}}},\"Actual NOCs Issued\":{\"date_histogram\":{\"field\":\"date\",\"interval\":\"intervalvalue\"},\"aggs\":{\"Actual\":{\"filter\":{\"bool\":{\"must\":[{\"term\":{\"applicationType.keyword\":\"NEW\"}}]}},\"aggs\":{\"Actual Noc's Issued\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}}}}}}}}" } ], "chartType": "line", "valueType": "number", "action": "", "drillChart": "none", "documentType": "_doc", "aggregationPaths": [ "Total Applications", "Provisional NOCs Issued", "Actual NOCs Issued" ], "isCumulative": true, "interval": "month", "insight": { }, "_comment": "NSS FIRE NOC application vs provisional vs actual" }, "nssNocCollectionByPaymentMode": { "chartName": "NSS_NOC_COLLECTION_BY_PAYMENT_MODE", "queries": [ { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"NOC Collection by PaymentMode\":{\"terms\":{\"field\":\"paymentMode.keyword\"},\"aggs\":{\"Total Collection\":{\"sum\":{\"field\":\"todaysCollectionForPaymentMode\"}}}}}}}}" } ], "chartType": "pie", "valueType": "amount", "action": "", "documentType": "_doc", "drillChart": "none", "aggregationPaths": [ "NOC Collection by PaymentMode" ], "insight": { }, "_comment": "NSS FIRE NOC Collection by payment mode" }, "nssTotalNocIssuedByType": { "chartName": "NSS_TOTAL_NOC_ISSUED_TYPE", "queries": [ { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"fire NOC Issued\":{\"terms\":{\"field\":\"type.keyword\"},\"aggs\":{\"nocs issued by type\":{\"sum\":{\"field\":\"nocIssuedTodayForType\"}}}}}}}}" } ], "chartType": "pie", "valueType": "amount", "action": "", "documentType": "_doc", "drillChart": "none", "aggregationPaths": [ "fire NOC Issued" ], "insight": { }, "_comment": "NSS FIRE NOC issued by type" }, "nssNOCTopPerformingStatesActual": { "chartName": "NSS_NOC_TOP_3_PERFORMING_STATES_ACTUAL", "queries": [ { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Total Noc's issued\":{\"terms\":{\"field\":\"state.keyword\",\"size\":\"200\",\"order\":{\"Total applications\":\"desc\"}},\"aggs\":{\"Total applications\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}}}}}}" }, { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Actual Nocs issued\":{\"filter\":{\"bool\":{\"must\":[{\"term\":{\"applicationType.keyword\":\"NEW\"}}]}},\"aggs\":{\"Noc's issued\":{\"terms\":{\"field\":\"state.keyword\",\"size\":\"200\",\"order\":{\"Sum\":\"desc\"}},\"aggs\":{\"Sum\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}}}}}}}}" } ], "isMdmsEnabled": false, "isPostResponseHandler": true, "postAggregationTheory" : "repsonseToDifferenceOfDates", "chartType": "perform", "valueType": "percentage", "drillChart": "none", "documentType": "_doc", "action": "percentage", "plotLabel": "Actual", "order": "desc", "limit": 3, "aggregationPaths": [ "Actual Nocs issued", "Total Noc's issued" ], "insight": { }, "_comment": "NSS FIRE NOC top performing state actual" }, "nssNOCTopPerformingStatesProvisional": { "chartName": "NSS_NOC_TOP_3_PERFORMING_STATES_PROVISIONAL", "queries": [ { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Total Noc's issued\":{\"terms\":{\"field\":\"state.keyword\",\"size\":\"200\",\"order\":{\"Total applications\":\"desc\"}},\"aggs\":{\"Total applications\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}}}}}}" }, { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Provisional Nocs issued\":{\"filter\":{\"bool\":{\"must\":[{\"term\":{\"applicationType.keyword\":\"PROVISIONAL\"}}]}},\"aggs\":{\"Noc's issued\":{\"terms\":{\"field\":\"state.keyword\",\"size\":\"200\",\"order\":{\"Sum\":\"desc\"}},\"aggs\":{\"Sum\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}}}}}}}}" } ], "isMdmsEnabled": false, "isPostResponseHandler": true, "chartType": "perform", "valueType": "percentage", "drillChart": "none", "documentType": "_doc", "action": "percentage", "plotLabel": "Provisional", "order": "desc", "limit": 3, "aggregationPaths": [ "Provisional Nocs issued", "Total Noc's issued" ], "insight": { }, "_comment": "NSS FIRE NOC top performing state provisional" }, "nssNOCBottomPerformingStatesActual": { "chartName": "NSS_NOC_BOTTOM_3_PERFORMING_STATES_ACTUAL", "queries": [ { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"Total Noc's issued\":{\"terms\":{\"field\":\"state.keyword\",\"size\":\"200\",\"order\":{\"Total applications\":\"desc\"}},\"aggs\":{\"Total applications\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}}}}" }, { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"Actual Nocs issued\":{\"filter\":{\"bool\":{\"must\":[{\"term\":{\"applicationType.keyword\":\"NEW\"}}]}},\"aggs\":{\"Noc's issued\":{\"terms\":{\"field\":\"state.keyword\",\"size\":\"200\",\"order\":{\"Sum\":\"desc\"}},\"aggs\":{\"Sum\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}}}}}}" } ], "isMdmsEnabled": false, "isPostResponseHandler": true, "chartType": "perform", "valueType": "percentage", "drillChart": "none", "documentType": "_doc", "action": "percentage", "plotLabel": "Actual", "order": "asc", "limit": 3, "aggregationPaths": [ "Actual Nocs issued", "Total Noc's issued" ], "insight": { }, "_comment": "NSS FIRE NOC bottom performing state actual" }, "nssNOCBottomPerformingStatesProvisional": { "chartName": "NSS_NOC_BOTTOM_3_PERFORMING_STATES_PROVISIONAL", "queries": [ { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Total Noc's issued\":{\"terms\":{\"field\":\"state.keyword\",\"size\":\"200\",\"order\":{\"Total applications\":\"desc\"}},\"aggs\":{\"Total applications\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}}}}}}" }, { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Provisional Nocs issued\":{\"filter\":{\"bool\":{\"must\":[{\"term\":{\"applicationType.keyword\":\"PROVISIONAL\"}}]}},\"aggs\":{\"Noc's issued\":{\"terms\":{\"field\":\"state.keyword\",\"size\":\"200\",\"order\":{\"Sum\":\"desc\"}},\"aggs\":{\"Sum\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}}}}}}}}" } ], "isMdmsEnabled": false, "isPostResponseHandler": true, "chartType": "perform", "valueType": "percentage", "drillChart": "none", "documentType": "_doc", "action": "percentage", "plotLabel": "Provisional", "order": "asc", "limit": 3, "aggregationPaths": [ "Provisional Nocs issued", "Total Noc's issued" ], "insight": { }, "_comment": "NSS FIRE NOC bottom performing state provisional" }, "nssActualNocIssuedByUsageType": { "chartName": "NSS_ACTUAL_NOC_ISSUED_USAGETYPE", "queries": [ { "module": "FIRENOC", "dateRefField": "date", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"fire NOC Issued\":{\"terms\":{\"field\":\"usageType.keyword\"},\"aggs\":{\"nocs issued by type\":{\"sum\":{\"field\":\"actualNOCIssuedForUsageType\"}}}}}}}}" } ], "chartType": "pie", "valueType": "amount", "action": "", "documentType": "_doc", "drillChart": "none", "aggregationPaths": [ "fire NOC Issued" ], "insight": { }, "_comment": "NSS Actual FIRE NOC issued by usagetype" }, "nssNOCServiceReportByState": { "chartName": "NSS_NOC_SERVICE_REPORT_STATE", "queries": [ { "module": "FIRENOC", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"state\":\"state.keyword\"}", "dateRefField": "date", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"FireNOC\":{\"filter\":{\"bool\":{\"must_not\":[{\"term\":{\"ulb.keyword\":\"pb.testing\"}}]}},\"aggs\":{\"State\":{\"terms\":{\"field\":\"state.keyword\",\"size\":1000},\"aggs\":{\"Total_Collection\":{\"sum\":{\"field\":\"todaysCollectionForPaymentMode\"}},\"Total_Applications\":{\"value_count\":{\"field\":\"todaysApplicationsForApplicationType\"}},\"Provisional_Fire_Nocs_issued\":{\"filter\":{\"bool\":{\"must\":[{\"term\":{\"applicationType.keyword\":\"PROVISIONAL\"}}]}},\"aggs\":{\"Provisional_Noc's_Issued\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}},\"Actual_Fire_Nocs_issued\":{\"filter\":{\"bool\":{\"must\":[{\"term\":{\"applicationType.keyword\":\"NEW\"}}]}},\"aggs\":{\"Actual_Noc's_Issued\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}},\"Average_days_to_issue_Provisional_NOC\":{\"sum\":{\"field\":\"avgDaysToIssueProvisionalNOCForDepartment\"}},\"Average_days_to_issue_Actual_NOC\":{\"sum\":{\"field\":\"avgDaysToIssueActualNOCForDepartment\"}},\"SLA_Compliance(Actual_NOC)\":{\"terms\":{\"field\":\"date\",\"size\":\"1\",\"order\":{\"_key\":\"desc\"}},\"aggs\":{\"Average\":{\"avg\":{\"field\":\"slaComplianceActualForDepartment\"}}}},\"SLA_Compliance(Provisional_NOC)\":{\"terms\":{\"field\":\"date\",\"size\":\"1\",\"order\":{\"_key\":\"desc\"}},\"aggs\":{\"Average\":{\"avg\":{\"field\":\"slaComplianceProvisionalForDepartment\"}}}}}}}}}}" } ], "isMdmsEnabled": false, "filterKeys": [ {"key": "state", "column": "State"} ], "chartType": "xtable", "valueType": "number", "action": "", "plotLabel": "State", "isPostResponseHandler": true, "postAggregationTheory" : "repsonseToDifferenceOfDates", "documentType": "_doc", "drillChart": "nssNOCServiceReportDrillDownUlb", "aggregationPaths": [ "Total_Collection", "Total_Applications", "Provisional_Fire_Nocs_issued", "Actual_Fire_Nocs_issued", "Average_days_to_issue_Provisional_NOC", "SLA_Compliance(Provisional_NOC)", "Average_days_to_issue_Actual_NOC", "SLA_Compliance(Actual_NOC)" ], "pathDataTypeMapping": [ { "Total_Collection": "amount" }, { "Total_Applications": "number" }, { "Provisional_Fire_Nocs_issued": "number" }, { "Actual_Fire_Nocs_issued": "number" }, { "Average_days_to_issue_Provisional_NOC": "number" }, { "SLA_Compliance(Provisional_NOC)": "percentage" }, { "Average_days_to_issue_Actual_NOC": "number" }, { "SLA_Compliance(Actual_NOC)": "percentage" } ], "insight": { }, "_comment": " " }, "nssNOCServiceReportDrillDownUlb": { "chartName": "NSS_NOC_SERVICE_REPORT_ULB", "queries": [ { "module": "FIRENOC", "requestQueryMap": "{\"ward\" : \"ward.keyword\", \"ulbtenantId\":\"ulb.keyword\", \"state\":\"state.keyword\"}", "dateRefField": "date", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"FireNOC\":{\"filter\":{\"bool\":{\"must_not\":[{\"term\":{\"ulb.keyword\":\"pb.testing\"}}]}},\"aggs\":{\"ULBs\":{\"terms\":{\"field\":\"ulb.keyword\",\"size\":1000},\"aggs\":{\"Total_Collection\":{\"sum\":{\"field\":\"todaysCollectionForPaymentMode\"}},\"Total_Applications\":{\"value_count\":{\"field\":\"todaysApplicationsForApplicationType\"}},\"Provisional_Fire_Nocs_issued\":{\"filter\":{\"bool\":{\"must\":[{\"term\":{\"applicationType.keyword\":\"PROVISIONAL\"}}]}},\"aggs\":{\"Provisional_Noc's_Issued\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}},\"Actual_Fire_Nocs_issued\":{\"filter\":{\"bool\":{\"must\":[{\"term\":{\"applicationType.keyword\":\"NEW\"}}]}},\"aggs\":{\"Actual_Noc's_Issued\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}},\"Average_days_to_issue_Provisional_NOC\":{\"sum\":{\"field\":\"avgDaysToIssueProvisionalNOCForDepartment\"}},\"Average_days_to_issue_Actual_NOC\":{\"sum\":{\"field\":\"avgDaysToIssueActualNOCForDepartment\"}},\"SLA_Compliance(Actual_NOC)\":{\"terms\":{\"field\":\"date\",\"size\":\"1\",\"order\":{\"_key\":\"desc\"}},\"aggs\":{\"Average\":{\"avg\":{\"field\":\"slaComplianceActualForDepartment\"}}}},\"SLA_Compliance(Provisional_NOC)\":{\"terms\":{\"field\":\"date\",\"size\":\"1\",\"order\":{\"_key\":\"desc\"}},\"aggs\":{\"Average\":{\"avg\":{\"field\":\"slaComplianceProvisionalForDepartment\"}}}}}}}}}}" } ], "isMdmsEnabled": false, "filterKeys": [ {"key": "ulbtenantId", "column": "ULBs"} ], "chartType": "xtable", "valueType": "number", "action": "", "plotLabel": "ULBs", "isPostResponseHandler": true, "postAggregationTheory" : "repsonseToDifferenceOfDates", "documentType": "_doc", "drillChart": "nssNOCServiceReportDrillDownWard", "aggregationPaths": [ "Total_Collection", "Total_Applications", "Provisional_Fire_Nocs_issued", "Actual_Fire_Nocs_issued", "Average_days_to_issue_Provisional_NOC", "SLA_Compliance(Provisional_NOC)", "Average_days_to_issue_Actual_NOC", "SLA_Compliance(Actual_NOC)" ], "pathDataTypeMapping": [ { "Total_Collection": "amount" }, { "Total_Applications": "number" }, { "Provisional_Fire_Nocs_issued": "number" }, { "Actual_Fire_Nocs_issued": "number" }, { "Average_days_to_issue_Provisional_NOC": "number" }, { "SLA_Compliance(Provisional_NOC)": "percentage" }, { "Average_days_to_issue_Actual_NOC": "number" }, { "SLA_Compliance(Actual_NOC)": "percentage" } ], "insight": { }, "_comment": " " }, "nssNOCServiceReportDrillDownWard": { "chartName": "NSS_NOC_SERVICE_REPORT_WARD", "kind": "drillDown", "queries": [ { "module": "FIRENOC", "requestQueryMap": "{\"ward\":\"ward.keyword\", \"state\":\"state.keyword\", \"ulbtenantId\":\"ulb.keyword\"}", "dateRefField": "date", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"FireNOC\":{\"filter\":{\"bool\":{\"must_not\":[{\"term\":{\"ulb.keyword\":\"pb.testing\"}}]}},\"aggs\":{\"Ward\":{\"terms\":{\"field\":\"ward.keyword\",\"size\":1000},\"aggs\":{\"Total_Collection\":{\"sum\":{\"field\":\"todaysCollectionForPaymentMode\"}},\"Total_Applications\":{\"value_count\":{\"field\":\"todaysApplicationsForApplicationType\"}},\"Provisional_Fire_Nocs_issued\":{\"filter\":{\"bool\":{\"must\":[{\"term\":{\"applicationType.keyword\":\"PROVISIONAL\"}}]}},\"aggs\":{\"Provisional_Noc's_Issued\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}},\"Actual_Fire_Nocs_issued\":{\"filter\":{\"bool\":{\"must\":[{\"term\":{\"applicationType.keyword\":\"NEW\"}}]}},\"aggs\":{\"Actual_Noc's_Issued\":{\"sum\":{\"field\":\"todaysApplicationsForApplicationType\"}}}},\"Average_days_to_issue_Provisional_NOC\":{\"sum\":{\"field\":\"avgDaysToIssueProvisionalNOCForDepartment\"}},\"Average_days_to_issue_Actual_NOC\":{\"sum\":{\"field\":\"avgDaysToIssueActualNOCForDepartment\"}},\"SLA_Compliance(Actual_NOC)\":{\"terms\":{\"field\":\"date\",\"size\":\"1\",\"order\":{\"_key\":\"desc\"}},\"aggs\":{\"Average\":{\"avg\":{\"field\":\"slaComplianceActualForDepartment\"}}}},\"SLA_Compliance(Provisional_NOC)\":{\"terms\":{\"field\":\"date\",\"size\":\"1\",\"order\":{\"_key\":\"desc\"}},\"aggs\":{\"Average\":{\"avg\":{\"field\":\"slaComplianceProvisionalForDepartment\"}}}}}}}}}}" } ], "isMdmsEnabled": false, "chartType": "table", "valueType": "number", "action": "", "plotLabel": "Ward", "isPostResponseHandler": true, "postAggregationTheory" : "repsonseToDifferenceOfDates", "documentType": "_doc", "drillChart": "none", "aggregationPaths": [ "Total_Collection", "Total_Applications", "Provisional_Fire_Nocs_issued", "Actual_Fire_Nocs_issued", "Average_days_to_issue_Provisional_NOC", "SLA_Compliance(Provisional_NOC)", "Average_days_to_issue_Actual_NOC", "SLA_Compliance(Actual_NOC)" ], "pathDataTypeMapping": [ { "Total_Collection": "amount" }, { "Total_Applications": "number" }, { "Provisional_Fire_Nocs_issued": "number" }, { "Actual_Fire_Nocs_issued": "number" }, { "Average_days_to_issue_Provisional_NOC": "number" }, { "SLA_Compliance(Provisional_NOC)": "percentage" }, { "Average_days_to_issue_Actual_NOC": "number" }, { "SLA_Compliance(Actual_NOC)": "percentage" } ], "insight": { }, "_comment": "" }, "nssNOCServiceReportByDepartment": { "chartName": "NSS_NOC_SERVICE_REPORT_DEPARTMENT", "queries": [ { "module": "FIRENOC", "requestQueryMap": "{\"ward\" : \"ward.keyword\",\"ulb\" : \"ulb.keyword\"}", "dateRefField": "date", "indexName": "firenoc-national-dashboard", "aggrQuery": "{\"aggs\":{\"FireNOC\":{\"filter\":{\"bool\":{\"must_not\":[{\"term\":{\"ulb.keyword\":\"pb.testing\"}}]}},\"aggs\":{\"Department\":{\"terms\":{\"field\":\"department.keyword\",\"size\":1000},\"aggs\":{\"Total_Collection\":{\"sum\":{\"field\":\"todaysCollectionForDepartment\"}},\"Total_Applications\":{\"value_count\":{\"field\":\"todaysApplicationsForDepartment\"}},\"Provisional_Fire_Nocs_issued\":{\"sum\":{\"field\":\"provisionalNOCIssuedForDepartment\"}},\"Actual_Fire_Nocs_issued\":{\"sum\":{\"field\":\"actualNOCIssuedForDepartment\"}},\"Average_days_to_issue_Provisional_NOC\":{\"sum\":{\"field\":\"avgDaysToIssueProvisionalNOCForDepartment\"}},\"Average_days_to_issue_Actual_NOC\":{\"sum\":{\"field\":\"avgDaysToIssueActualNOCForDepartment\"}},\"SLA_Compliance(Actual_NOC)\":{\"terms\":{\"field\":\"date\",\"size\":\"1\",\"order\":{\"_key\":\"desc\"}},\"aggs\":{\"Average\":{\"avg\":{\"field\":\"slaComplianceActualForDepartment\"}}}},\"SLA_Compliance(Provisional_NOC)\":{\"terms\":{\"field\":\"date\",\"size\":\"1\",\"order\":{\"_key\":\"desc\"}},\"aggs\":{\"Average\":{\"avg\":{\"field\":\"slaComplianceProvisionalForDepartment\"}}}}}}}}}}" } ], "isMdmsEnabled": false, "chartType": "table", "valueType": "number", "action": "", "plotLabel": "Department", "isPostResponseHandler": true, "postAggregationTheory" : "repsonseToDifferenceOfDates", "documentType": "_doc", "drillChart": "none", "aggregationPaths": [ "Total_Collection", "Total_Applications", "Provisional_Fire_Nocs_issued", "Actual_Fire_Nocs_issued", "Average_days_to_issue_Provisional_NOC", "SLA_Compliance(Provisional_NOC)", "Average_days_to_issue_Actual_NOC", "SLA_Compliance(Actual_NOC)" ], "pathDataTypeMapping": [ { "Total_Collection": "amount" }, { "Total_Applications": "number" }, { "Provisional_Fire_Nocs_issued": "number" }, { "Actual_Fire_Nocs_issued": "number" }, { "Average_days_to_issue_Provisional_NOC": "number" }, { "SLA_Compliance(Provisional_NOC)": "percentage" }, { "Average_days_to_issue_Actual_NOC": "number" }, { "SLA_Compliance(Actual_NOC)": "percentage" } ], "insight": { }, "_comment": "" }, |
...
On click of Actual it shows the % of NOCs issued for Actual FireNocs.
...
On click of Provisional it shows the % of NOCs issued for Actual FireNocs.
...
On click of Actual it shows the % of NOCs issued for Actual FireNocs.
...
On click of Provisional it shows the % of NOCs issued for Actual FireNocs.
...
On click of the ULB will navigate to wards under that specific ULB and each ward shows the specific data regarding that ward.
...
Newly introduced property:
...