...
Code Block | ||
---|---|---|
| ||
"_comment": "National Dashboard-WS- RevenueService Tab- all cards configs start here-------------------------------", "nssWsTodaysCollectionnssWsTotalApplications": { "chartName": "NSS_WS_TODAYSTOTAL_COLLECTIONAPPLICATIONS", "queries": [ { "module": "WS", "indexNamedateRefField": "ws-national-dashboarddate", "aggrQueryrequestQueryMap": "{\"aggsstate\" :{ \"AGGRstate.keyword\":{,\"filterulb\" :{ \"boolulb.keyword\":{,\"mustward\" :[{ \"range\":{\"date\":{\"gt\":\"now-1d\/d\",\"lte\":\"now\"}}}]ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"todaysDatestate\":{\"terms\":{\"field\":\"datestate.keyword\"},\"orderaggs\":{\"_termintermediateAggrULB\":{\"descterms\"},:{\"sizefield\":1\"ulb.keyword\"},\"aggs\":{\"Todays CollectionintermediateAggrWard\":{\"sumterms\":{\"field\":\"todaysCollectionForPaymentChannelTypeward.keyword\"}}}},\"lastUpdatedTimeaggs\":{\"days\":{\"terms\":{\"field\":\"lastModifiedTimedate\"},\"orderaggs\":{\"_termapplications\":{\"descavg\"},:{\"sizefield\":1}}\"todaysTotalApplications\"}}}}", "requestQueryMap": "{\"module\" : \"module.keyword\", \"state\" : \"state.keyword\", \"ulb\" : \"ulb.keyword\"}", "dateRefField": "" } ],,\"wardapplications\":{\"sum_bucket\":{\"buckets_path\":\"days.applications\"}}}},\"ulbApplications\":{\"sum_bucket\":{\"buckets_path\":\"intermediateAggrWard.wardapplications\"}}}},\"stateApplications\":{\"sum_bucket\":{\"buckets_path\":\"intermediateAggrULB.ulbApplications\"}}}},\"Total Applications\":{\"sum_bucket\":{\"buckets_path\":\"state.stateApplications\"}}}}}}" } "chartType": "metric", ], "valueTypetranslateTenantCode": "amount"false, "drillChartchartType": "nonemetric", "documentTypevalueType": "nssnumber", "action": "", "TodaysCollectiondrillChart":true "none", "aggregationPaths": [ "TodaysTotal CollectionApplications" ], "insight": { }, "_commentchartResponseMap" : " NSS W&S today's collections"nssWsTotalApplications", }, "nssWsTotalCollection": { "chartName"action" : "NSS_WS_TOTAL_COLLECTIONdifferenceOfNumbers", "queries": [ "upwardIndicator" {: "positive", "moduledownwardIndicator" : "WSnegative", "requestQueryMap": "{\"module\textMessage" : \"module.keyword\", \"ulb\" : \"ulb.keyword\",\"state\" : \"state.keyword\"}"$indicator$value% than last $insightInterval", "dateRefFieldcolorCode" : "date#228B22", "indexNameinsightInterval" : "ws-national-dashboardyear", "aggrQueryisRoundOff": "{\"aggs\":{\"Total Collection\":{\"sum\":{\"field\":\"todaysCollectionForPaymentChannelType\"}}}}"true } , ], "translateTenantCode_comment": false," " "chartType": "metric" }, "valueTypenssWsTotalConnection": "amount",{ "actionchartName": "NSS_WS_ACTIVE_CONNECTIONS", "drillChartqueries": "none",[ "aggregationPaths": [ { "Total Collection" "module": "WS", ], "insightdateRefField": { "date", "requestQueryMap": "chartResponseMap{\"state\" : \"nssWsTotalCollectionstate.keyword\",\"ulb\" "action: \"ulb.keyword\",\"ward\" : "differenceOfNumbers\"ward.keyword\"}", "upwardIndicatorindexName" : "positivews-national-dashboard", "downwardIndicatoraggrQuery": : "negative","{\"aggs\":{\"Connections\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Count\":{\"sum\":{\"field\":\"connectionsCreatedForConnectionType\"}}}}}}" } "textMessage" : "$indicator$value% than last $insightInterval"], "colorCodetranslateTenantCode" : "#228B22"false, "insightIntervalchartType" : "yearmetric", }"valueType": "number", "_commentaction": "W&S total collections " ", "drillChart": "none", "aggregationPaths": [ "Connections" ], "insight": { }, "_comment": " " }, "nssWsTargetCollection "nssWsSLACompliance": { "chartName": "NSS_WS_TARGETSLA_COLLECTIONCOMPLIANCE", "queries": [ { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\"}", "dateRefField": "date\"ward\" : \"ward.keyword\"}", "indexName": "masterws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{\"must_not\":[{\"term\":{\"moduleulb.keyword\":\"WSpb.testing\"}}]}},\"aggs\":{\"Target Collectionstate\":{\"terms\":{\"field\":\"state.keyword\"},\"sizeaggs\":{\"200intermediateAggrULB\",:{\"orderterms\":{\"Sumfield\":\"desculb.keyword\"}},\"aggs\":{\"SumintermediateAggrWard\":{\"sumterms\":{\"field\":\"budgetProposedForMunicipalCorporationward.keyword\"}}}}}}}}" } ], "chartType": "metric", "valueType": "amount", "action": "", "drillChart": "none", "documentType": "nss", "aggregationPaths": [ "Target Collection" ], "isDayUnit": true, "postAggregationTheory" : "repsonseToDifferenceOfDates", "insight": { "chartResponseMap" : "nssWsTargetCollection", "action" : "differenceOfNumbers", "upwardIndicator" : "positive", "downwardIndicator" : "negative", "textMessage" : "$indicator$value% than last $insightInterval", "colorCode" : "#228B22", "insightInterval" : "year" }, "_comment": "NSS W&S Target Collection " }, "nssWsTargetAchieved": { "chartName": "NSS_WS_TARGET_ACHIEVED", "queries": [ { "module": "COMMON", "requestQueryMap": "{\"module\" : \"module.keyword\", \"ulb\" : \"ulb.keyword\",\"state\" : \"state.keyword\"}", "dateRefField": "date", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"Total Collection\":{\"sum\":{\"field\":\"todaysCollectionForPaymentChannelType\"}}}}" }, { "module": "WS", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\"}", "dateRefField": "date", "indexName": "master-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"term\":{\"module.keyword\":\"WS\"}},\"aggs\":{\"Target Collection\":{\"terms\":{\"field\":\"state.keyword\",\"size\":\"200\",\"order\":{\"Sum\":\"desc\"}},\"aggs\":{\"Sum\":{\"sum\":{\"field\":\"budgetProposedForMunicipalCorporation\"}}}}}}}}" } ], "chartType": "metric", "valueType": "percentage", "drillChart": "none", "documentType": "nss", "action": "percentage", "aggregationPaths": [ "Total Collection", "Target Collection" ], "insight": { "chartResponseMap" : "nssWsTargetAchieved", "action" : "differenceOfNumbers", "upwardIndicator" : "positive", "downwardIndicator" : "negative", "textMessage" : "$indicator$value% than last $insightInterval", "colorCode" : "#228B22", "insightInterval" : "year" }, "_comment": " " }, "nssWsCumulativeCollections": { "chartName": "NSS_WS_TOTAL_CUMULATIVE_COLLECTION", "queries": [ { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"ulb\" : \"ulb.keyword\",\"ward\" : \"ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"Water Collections\":{\"date_histogram\":{\"field\":\"date\",\"interval\":\"intervalvalue\"},\"aggs\":{\"Water\":{\"filter\":{\"bool\":{\"must\":[{\"terms\":{\"connectionType.keyword\":[\"WATER.NONMETERED\",\"WATER.METERED\"]}}]}},\"aggs\":{\"Sum\":{\"sum\":{\"field\":\"todaysCollectionForConnectionType\"}}}}}},\"Sewerage Collections\":{\"date_histogram\":{\"field\":\"date\",\"interval\":\"intervalvalue\"},\"aggs\":{\"Sewerage\":{\"filter\":{\"bool\":{\"must\":[{\"terms\":{\"connectionType.keyword\":[\"SEWERAGE\"]}}]}},\"aggs\":{\"Count\":{\"sum\":{\"field\":\"todaysCollectionForConnectionType\"}}}}}}}}" } ], "translateTenantCode": false, "chartType": "line", "valueType": "amount", "action": "", "drillChart": "none", "documentType": "_doc", "aggregationPaths": [ "Water Collections", "Sewerage Collections" ], "isCumulative": true, "interval": "month", "insight": { }, "_comment": " " }, "nssWsTopPerformingUlbs": { "chartName": "NSS_WS_TOP_3_PERFORMING_STATES", "queries": [ { "module": "COMMON", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\"}", "dateRefField": "date", "indexName": "master-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"term\":{\"module.keyword\":\"WS\"}},\"aggs\":{\"Target Collection\":{\"terms\":{\"field\":\"state.keyword\",\"size\":\"200\"},\"aggs\":{\"Sum\":{\"sum\":{\"field\":\"budgetProposedForMunicipalCorporation\"}}}}}}}}" }, { "module": "WS", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\"}", "dateRefField": "date", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Total Collection\":{\"terms\":{\"field\":\"state.keyword\",\"size\":\"200\"},\"aggs\":{\"Sum\":{\"sum\":{\"field\":\"todaysCollectionForPaymentChannelType\"}}}}}}}}" } ], "isMdmsEnabled": false, "isPostResponseHandler": true, "chartType": "perform", "valueType": "percentage", "drillChart": "none", "documentType": "_doc", "action": "percentage", "plotLabel": "NSS_WS_TOP_3_PERFORMING_STATES", "order": "desc", "limit": 3, "aggregationPaths": [ "Total Collection","Target Collection" ], "insight": { }, "_comment": " Top Performing Ulbs for target achieved" }, "nssWsBottomPerformingUlbs": { "chartName": "NSS_WS_BOTTOM_3_PERFORMING_STATES", "queries": [ { "module": "COMMON", "requestQueryMap": "{\"state\" : \"state.keyword\",\"module\" : \"module.keyword\", \"ulb\" : \"ulb.keyword\"}", "dateRefField": "date", "indexName": "master-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"term\":{\"module.keyword\":\"WS\"}},\"aggs\":{\"Target Collection\":{\"terms\":{\"field\":\"state.keyword\",\"size\":\"200\"},\"aggs\":{\"Sum\":{\"sum\":{\"field\":\"budgetProposedForMunicipalCorporation\"}}}}}}}}" }, { "module": "WS", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\"}", "dateRefField": "date", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Total Collection\":{\"terms\":{\"field\":\"state.keyword\",\"size\":\"200\"},\"aggs\":{\"Sum\":{\"sum\":{\"field\":\"todaysCollectionForPaymentChannelType\"}}}}}}}}" } ], "isMdmsEnabled": false, "isPostResponseHandler": true, "chartType": "perform", "valueType": "percentage", "drillChart": "none", "documentType": "_doc", "action": "percentage", "plotLabel": "NSS_WS_BOTTOM_3_PERFORMING_STATES", "order": "asc", "limit": 3, "aggregationPaths": [ "Total Collection", "Target Collection" ], "insight": { }, "_comment": " Bottom Performing States for target achieved" }, "nssWsCollectionByUsage": { "chartName": "NSS_WS_COLLECTION_BY_USAGE", "queries": [ { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"tenantId\" : \"tenantId.keyword\",\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\",\"ward\" : \"ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Collection by Usage Type\":{\"terms\":{\"field\":\"usageType.keyword\",\"size\":200},\"aggs\":{\"Amount Paid\":{\"sum\":{\"field\":\"todaysCollectionForUsageType\"}}}}}}}}" } ], "translateTenantCode": true, "chartType": "pie", "valueType": "amount", "action": "", "documentType": "_doc", "drillChart": "none", "aggregationPaths": [ "Collection by Usage Type" ], "insight": { }, "_comment": " " }, "nssWsCollectionByChannel": { "chartName": "NSS_WS_COLLECTION_BY_CHANNEL", "queries": [ { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"tenantId\" : \"tenantId.keyword\",\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\",\"ward\" : \"ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Collection by Channel Type\":{\"terms\":{\"field\":\"paymentChannelType.keyword\",\"size\":200},\"aggs\":{\"Amount Paid\":{\"sum\":{\"field\":\"todaysCollectionForPaymentChannelType\"}}}}}}}}" } ], "translateTenantCode": true, "chartType": "pie", "valueType": "amount", "action": "", "documentType": "_doc", "drillChart": "none", "aggregationPaths": [ "Collection by Channel Type" ], "insight": { }, "_comment": " " }, "nssWsFinancialIndicatorState": { "chartName": "NSS_WS_KEY_FY_INDICATORS", "queries": [ { "module": "COMMON", "requestQueryMap": "{\"state\" : \"state.keyword\",\"module\" : \"module.keyword\"}", "dateRefField": "date", "indexName": "master-national-dashboard", "aggrQuery": "{\"aggs\":{\"state \":{\"terms\":{\"field\":\"state.keyword\",\"size\":200},\"aggs\":{\"Target_Collection\":{\"filter\":{\"term\":{\"module.keyword\":\"WS\"}},\"aggs\":{\"sum\":{\"sum\":{\"field\":\"budgetProposedForMunicipalCorporation\"}}}}}}}}" }, { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ward\" : \"ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"State\":{\"terms\":{\"field\":\"state.keyword\",\"size\":\"200\",\"order\":{\"Total_Connections\":\"desc\"}},\"aggs\":{\"Total_Connections\":{\"sum\":{\"field\":\"connectionsCreatedForConnectionType\"}},\"Ws_Total_Collection\":{\"sum\":{\"field\":\"todaysCollectionForPaymentChannelType\"}},\"Total_Transactions\":{\"avg\":{\"field\":\"transactions\"}}}}}}}}" } ], "filterKeys": [ { "key": "state","column": "State" } ], "isPostResponseHandler": true, "postAggregationTheory": "repsonseToDifferenceOfDates", "chartType": "xtable", "valueType": "number", "drillChart": "nssWsFinancialIndicatorTenant", "documentType": "_doc", "action": "", "plotLabel": "State", "aggregationPaths": [ "Target_Collection", "Ws_Total_Collection", "Total_Transactions", "Total_Connections" ], "computedFields": [ { "postAggregationTheory" : "", "actionName": "PercentageComputedField", "fields" : ["Ws_Total_Collection","Target_Collection"], "newField" : "Target_Achieved", "_comments": "fields are field names picked from its aggregation query to use post aggregation newField value with given new field name " } ], "pathDataTypeMapping": [ { "Ws_Total_Collection": "amount" }, { "Total_Transactions": "number" }, { "Total_Connections": "number" }, { "Target_Collection": "amount" }, { "Target_Achieved": "percentage" } ], "insight": { }, "_comment": " " }, "nssWsFinancialIndicatorTenant": { "chartName": "NSS_WS_DEMAND_COLLECTION_BOUNDARY", "queries": [ { "module": "COMMON", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\",\"module\" : \"module.keyword\"}", "dateRefField": "date", "indexName": "master-national-dashboard", "aggrQuery": "{\"aggs\":{\"state \":{\"terms\":{\"field\":\"ulb.keyword\",\"size\":200},\"aggs\":{\"Target_Collection\":{\"filter\":{\"term\":{\"module.keyword\":\"WS\"}},\"aggs\":{\"sum\":{\"sum\":{\"field\":\"budgetProposedForMunicipalCorporation\"}}}}}}}}" }, { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\",\"ward\" : \"ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"ULB\":{\"terms\":{\"field\":\"ulb.keyword\",\"size\":\"200\",\"order\":{\"Total_Connections\":\"desc\"}},\"aggs\":{\"Total_Connections\":{\"sum\":{\"field\":\"connectionsCreatedForConnectionType\"}},\"Ws_Total_Collection\":{\"sum\":{\"field\":\"todaysCollectionForPaymentChannelType\"}},\"Total_Transactions\":{\"avg\":{\"field\":\"transactions\"}}}}}}}}" } ], "filterKeys": [ { "key": "ulb","column": "ULB" } ], "postAggregationTheory": "repsonseToDifferenceOfDates", "chartType": "xtable", "valueType": "number", "drillChart": "nssWsFinancialIndicatorWard", "documentType": "_doc", "action": "", "plotLabel": "ULB", "aggregationPaths": [ "Target_Collection", "Ws_Total_Collection", "Total_Transactions", "Total_Connections" ], "computedFields": [ { "postAggregationTheory" : "", "actionName": "PercentageComputedField", "fields" : ["Ws_Total_Collection","Target_Collection"], "newField" : "Target_Achieved", "_comments": "fields are field names picked from its aggregation query to use post aggregation newField value with given new field name " } ], "pathDataTypeMapping": [ { "Ws_Total_Collection": "amount" }, { "Total_Transactions": "number" }, { "Total_Connections": "number" }, { "Target_Collection": "amount" }, { "Target_Achieved": "percentage" } ], "insight": {}, "_comment": "" }, "nssWsFinancialIndicatorWard": { "chartName": "", "queries": [ { "module": "COMMON", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\",\"ward\" : \"ward.keyword\"}", "dateRefField": "date", "indexName": "master-national-dashboard", "aggrQuery": "{\"aggs\":{\"state \":{\"terms\":{\"field\":\"ward.keyword\",\"size\":200},\"aggs\":{\"Target_Collection\":{\"filter\":{\"term\":{\"module.keyword\":\"WS\"}},\"aggs\":{\"sum\":{\"sum\":{\"field\":\"budgetProposedForMunicipalCorporation\"}}}}}}}}" }, { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\",\"ward\" : \"ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Ward\":{\"terms\":{\"field\":\"ward.keyword\",\"size\":\"200\",\"order\":{\"Total_Connections\":\"desc\"}},\"aggs\":{\"Total_Connections\":{\"sum\":{\"field\":\"connectionsCreatedForConnectionType\"}},\"Ws_Total_Collection\":{\"sum\":{\"field\":\"todaysCollectionForPaymentChannelType\"}},\"Total_Transactions\":{\"avg\":{\"field\":\"transactions\"}}}}}}}}" } ], "isMdmsEnabled": false, "filterKeys": [ ], "postAggregationTheory": "repsonseToDifferenceOfDates", "chartType": "xtable", "valueType": "number", "drillChart": "", "documentType": "_doc", "action": "", "plotLabel": "Ward", "aggregationPaths": [ "Target_Collection", "Ws_Total_Collection", "Total_Transactions", "Total_Connections" ], "computedFields": [ { "postAggregationTheory" : "", "actionName": "PercentageComputedField", "fields" : ["Ws_Total_Collection","Target_Collection"], "newField" : "Target_Achieved", "_comments": "fields are field names picked from its aggregation query to use post aggregation newField value with given new field name " } ], "pathDataTypeMapping": [ { "Ws_Total_Collection": "amount" }, { "Total_Transactions": "number" }, { "Total_Connections": "number" }, { "Target_Collection": "amount" }, { "Target_Achieved": "percentage" } ], "insight": { }, "_comment": "" }, "nssWsTaxHeadState": { "chartName": "NSS_WS_TAX_HEAD_BOUNDARY", "queries": [ { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ward\" : \"ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"State \":{\"terms\":{\"field\":\"state.keyword\",\"size\":200},\"aggs\":{\"Interest\":{\"filter\":{\"terms\":{\"taxHeads.keyword\":[\"INTEREST\"]}},\"aggs\":{\"amount\":{\"sum\":{\"field\":\"todaysCollectionForTaxHeads\"}}}},\"Late_Charges\":{\"filter\":{\"terms\":{\"taxHeads.keyword\":[\"LATE.CHARGES\"]}},\"aggs\":{\"amount\":{\"sum\":{\"field\":\"todaysCollectionForTaxHeads\"}}}},\"Arrear_Charges\":{\"filter\":{\"terms\":{\"taxHeads.keyword\":[\"ARREAR.CHARGES\"]}},\"aggs\":{\"amount\":{\"sum\":{\"field\":\"todaysCollectionForTaxHeads\"}}}},\"Advance\":{\"filter\":{\"terms\":{\"taxHeads.keyword\":[\"ADVANCE\"]}},\"aggs\":{\"amount\":{\"sum\":{\"field\":\"todaysCollectionForTaxHeads\"}}}},\"Current_Charges\":{\"filter\":{\"terms\":{\"taxHeads.keyword\":[\"CURRENT.CHARGES\"]}},\"aggs\":{\"amount\":{\"sum\":{\"field\":\"todaysCollectionForTaxHeads\"}}}},\"Ws_Total_Collection\":{\"sum\":{\"field\":\"todaysCollectionForTaxHeads\"}}}}}}}}" } ], "isMdmsEnabled": false, "filterKeys": [ {"key": "state", "column": "State"} ], "chartType": "table", "valueType": "amount", "drillChart": "nssWsTaxHeadTenant", "action": "", "plotLabel": "State", "postAggregationTheory" : "", "aggregationPaths": [ "Ws_Total_Collection", "Late_Charges", "Interest", "Advance", "Current_Charges", "Arrear_Charges" ], "pathDataTypeMapping": [ { "Ws_Total_Collection": "amount" }, { "Late_Charges": "amount" }, { "Interest": "amount" }, { "Advance": "amount" }, { "Current_Charges": "amount" }, { "Arrear_Charges": "amount" } ], "insight": { }, "_comment": "" }, "nssWsTaxHeadTenant": { "chartName": "NSS_WS_TAX_HEAD_BOUNDARY", "queries": [ { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\",\"ward\" : \"ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"ULB \":{\"terms\":{\"field\":\"ulb.keyword\",\"size\":200},\"aggs\":{\"Interest\":{\"filter\":{\"terms\":{\"taxHeads.keyword\":[\"INTEREST\"]}},\"aggs\":{\"amount\":{\"sum\":{\"field\":\"todaysCollectionForTaxHeads\"}}}},\"Late_Charges\":{\"filter\":{\"terms\":{\"taxHeads.keyword\":[\"LATE.CHARGES\"]}},\"aggs\":{\"amount\":{\"sum\":{\"field\":\"todaysCollectionForTaxHeads\"}}}},\"Arrear_Charges\":{\"filter\":{\"terms\":{\"taxHeads.keyword\":[\"ARREAR.CHARGES\"]}},\"aggs\":{\"amount\":{\"sum\":{\"field\":\"todaysCollectionForTaxHeads\"}}}},\"Advance\":{\"filter\":{\"terms\":{\"taxHeads.keyword\":[\"ADVANCE\"]}},\"aggs\":{\"amount\":{\"sum\":{\"field\":\"todaysCollectionForTaxHeads\"}}}},\"Current_Charges\":{\"filter\":{\"terms\":{\"taxHeads.keyword\":[\"CURRENT.CHARGES\"]}},\"aggs\":{\"amount\":{\"sum\":{\"field\":\"todaysCollectionForTaxHeads\"}}}},\"Ws_Total_Collection\":{\"sum\":{\"field\":\"todaysCollectionForTaxHeads\"}}}}}}}}" } ], "translateTenantCode": false, "isMdmsEnabled": false, "filterKeys": [ {"key": "ulb", "column": "ULB"} ], "chartType": "table", "valueType": "amount", "drillChart": "nssWsTaxHeadWard", "action": "", "plotLabel": "ULB", "postAggregationTheory" : "", "aggregationPaths": [ "Ws_Total_Collection", "Late_Charges", "Interest", "Advance", "Current_Charges", "Arrear_Charges" ], "pathDataTypeMapping": [ { "Ws_Total_Collection": "amount" }, { "Late_Charges": "amount" }, { "Interest": "amount" }, { "Advance": "amount" }, { "Current_Charges": "amount" }, { "Arrear_Charges": "amount" } ], "insight": { }, "_comment": "" }, "nssWsTaxHeadWard": { "chartName": "", "queries": [ { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\",\"ward\" : \"ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Ward \":{\"terms\":{\"field\":\"ward.keyword\",\"size\":200},\"aggs\":{\"Interest\":{\"filter\":{\"terms\":{\"taxHeads.keyword\":[\"INTEREST\"]}},\"aggs\":{\"amount\":{\"sum\":{\"field\":\"todaysCollectionForTaxHeads\"}}}},\"Late_Charges\":{\"filter\":{\"terms\":{\"taxHeads.keyword\":[\"LATE.CHARGES\"]}},\"aggs\":{\"amount\":{\"sum\":{\"field\":\"todaysCollectionForTaxHeads\"}}}},\"Arrear_Charges\":{\"filter\":{\"terms\":{\"taxHeads.keyword\":[\"ARREAR.CHARGES\"]}},\"aggs\":{\"amount\":{\"sum\":{\"field\":\"todaysCollectionForTaxHeads\"}}}},\"Advance\":{\"filter\":{\"terms\":{\"taxHeads.keyword\":[\"ADVANCE\"]}},\"aggs\":{\"amount\":{\"sum\":{\"field\":\"todaysCollectionForTaxHeads\"}}}},\"Current_Charges\":{\"filter\":{\"terms\":{\"taxHeads.keyword\":[\"CURRENT.CHARGES\"]}},\"aggs\":{\"amount\":{\"sum\":{\"field\":\"todaysCollectionForTaxHeads\"}}}},\"Ws_Total_Collection\":{\"sum\":{\"field\":\"todaysCollectionForTaxHeads\"}}}}}}}}" } ], "isMdmsEnabled": false, "translateTenantCode": false, "filterKeys": [ ], "chartType": "table", "valueType": "amount", "drillChart": "none", "action": "", "plotLabel": "Ward", "postAggregationTheory" : "", "aggregationPaths": [ "Ws_Total_Collection", "Late_Charges", "Interest", "Advance", "Current_Charges", "Arrear_Charges" ], "pathDataTypeMapping": [ { "Ws_Total_Collection": "amount" }, { "Late_Charges": "amount" }, { "Interest": "amount" }, { "Advance": "amount" }, { "Current_Charges": "amount" }, { "Arrear_Charges": "amount" } ], "insight": { }, "_comment": "" }, "_comment": "National Dashboard-WS- Service Tab- all cards configs start here", "nssWsTotalApplications": { "chartName": "NSS_WS_TOTAL_APPLICATIONS", "queries": [ { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\",\"ward\" : \"ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"intermediateAggr\":{\"terms\":{\"field\":\"date\"},\"aggs\":{\"applications\":{\"avg\":{\"field\":\"todaysTotalApplications\"}}}},\"Total Applications\":{\"sum_bucket\":{\"buckets_path\":\"intermediateAggr.applications\"}}}}}}" } ], "translateTenantCode": false, "chartType": "metric", "valueType": "number", "action": "", "drillChart": "none", "aggregationPaths": [ "Total Applications" ], "insight": { "chartResponseMap" : "nssWsTotalApplications", "action" : "differenceOfNumbers", "upwardIndicator" : "positive", "downwardIndicator" : "negative", "textMessage" : "$indicator$value% than last $insightInterval", "colorCode" : "#228B22", "insightInterval" : "year" }, "_comment": " " }, "nssWsTotalConnection": { "chartName": "NSS_WS_ACTIVE_CONNECTIONS", "queries": [ { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\",\"ward\" : \"ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"Connections\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Count\":{\"sum\":{\"field\":\"connectionsCreatedForConnectionType\"}}}}}}" } ], "translateTenantCode": false, "chartType": "metric", "valueType": "number", "action": "", "drillChart": "none", "aggregationPaths": [ "Connections" ], "insight": { }, "_comment": " " }, "nssWsSLACompliance": { "chartName": "NSS_WS_SLA_COMPLIANCE", "queries": [ { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\",\"ward\" : \"ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{\"must_not\":[{\"term\":{\"ulb.keyword\":\"pb.testing\"}}]}},\"aggs\":{,\"aggs\":{\"todaysDate\":{\"terms\":{\"field\":\"date\",\"order\":{\"_term\":\"desc\"},\"size\":1},\"aggs\":{\"SLACompliance\":{\"avg\":{\"field\":\"slaCompliance\"}}}},\"wardSLACompliance\":{\"avg_bucket\":{\"buckets_path\":\"todaysDate.SLACompliance\"}}}},\"ulbSLACompliance\":{\"avg_bucket\":{\"buckets_path\":\"intermediateAggrWard.wardSLACompliance\"}}}},\"stateSLACompliance\":{\"avg_bucket\":{\"buckets_path\":\"intermediateAggrULB.ulbSLACompliance\"}}}},\"SLA Compliance\":{\"avg_bucket\":{\"fieldbuckets_path\":\"slaCompliancestate.stateSLACompliance\"}}}}}}" } ], "translateTenantCode": false, "chartType": "metric", "valueType": "percentage", "action": "", "drillChart": "none", "isRoundOff": true, "aggregationPaths": [ "SLA Compliance" ], "insight": { "chartResponseMap" : "nssWsSLACompliance", "action" : "differenceOfNumbers", "upwardIndicator" : "positive", "downwardIndicator" : "negative", "textMessage" : "$indicator$value% than last $insightInterval", "colorCode" : "#228B22", "insightInterval" : "year", "isRoundOff": true }, "_comment": "WS SLA Compliance" }, "nssWsActiveMeteredWaterConnection": { "chartName": "NSS_WS_ACTIVE_METERED_WATER_CONNECTIONS", "queries": [ { "module": "WS", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{\"must\":[{\"terms\":{\"connectionType.keyword\":[\"WATER.METERED\"]}}]}},\"aggs\":{\"Active Metered Water Connections\":{\"sum\":{\"field\":\"connectionsCreatedForConnectionType\"}}}}}}", "requestQueryMap": "{\"module\" : \"module.keyword\", \"ulb\" : \"ulb.keyword\",\"state\" : \"state.keyword\",\"ward\" : \"ward.keyword\"}", "dateRefField": "date" } ], "translateTenantCode": false, "chartType": "metric", "valueType": "number", "action": "", "drillChart": "none", "aggregationPaths": [ "Active Metered Water Connections" ], "insight": { "chartResponseMap" : "nssWsActiveMeteredWaterConnection", "action" : "differenceOfNumbers", "upwardIndicator" : "positive", "downwardIndicator" : "negative", "textMessage" : "$indicator$value% than last $insightInterval", "colorCode" : "#228B22", "insightInterval" : "year", "isRoundOff": true }, "_comment": "active metered water connections" }, "nssWsActiveNonMeteredWaterConnection": { "chartName": "NSS_WS_ACTIVE_NON_METERED_WATER_CONNECTIONS", "queries": [ { "module": "WS", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{\"must\":[{\"terms\":{\"connectionType.keyword\":[\"WATER.NONMETERED\"]}}]}},\"aggs\":{\"Active Non-Metered Water Connections\":{\"sum\":{\"field\":\"connectionsCreatedForConnectionType\"}}}}}}", "requestQueryMap": "{\"module\" : \"module.keyword\", \"ulb\" : \"ulb.keyword\",\"state\" : \"state.keyword\",\"ward\" : \"ward.keyword\"}", "dateRefField": "date" } ], "translateTenantCode": false, "chartType": "metric", "valueType": "number", "action": "", "drillChart": "none", "aggregationPaths": [ "Active Non-Metered Water Connections" ], "insight": { "chartResponseMap" : "nssWsActiveNonMeteredWaterConnection", "action" : "differenceOfNumbers", "upwardIndicator" : "positive", "downwardIndicator" : "negative", "textMessage" : "$indicator$value% than last $insightInterval", "colorCode" : "#228B22", "insightInterval" : "year", "isRoundOff": true }, "_comment": "active non-metered water connections" }, "nssWsActiveSewerageConnection": { "chartName": "NSS_WS_ACTIVE_SEWERAGE_CONNECTIONS", "queries": [ { "module": "WS", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{\"must\":[{\"terms\":{\"connectionType.keyword\":[\"SEWERAGE\"]}}]}},\"aggs\":{\"Active Sewerage Connections\":{\"sum\":{\"field\":\"connectionsCreatedForConnectionType\"}}}}}}", "requestQueryMap": "{\"module\" : \"module.keyword\", \"ulb\" : \"ulb.keyword\",\"state\" : \"state.keyword\"}", "dateRefField": "date" } ], "translateTenantCode": false, "chartType": "metric", "valueType": "number", "action": "", "drillChart": "none", "aggregationPaths": [ "Active Sewerage Connections" ], "insight": { "chartResponseMap" : "nssWsActiveSewerageConnection", "action" : "differenceOfNumbers", "upwardIndicator" : "positive", "downwardIndicator" : "negative", "textMessage" : "$indicator$value% than last $insightInterval", "colorCode" : "#228B22", "insightInterval" : "year", "isRoundOff": true }, "_comment": "active sewerage connections " }, "nssWsCumulativeConnections": { "chartName": "NSS_WS_CUMULATIVE_CONNECTION", "queries": [ { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\",\"ward\" : \"ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"Water Connections\":{\"date_histogram\":{\"field\":\"date\",\"interval\":\"intervalvalue\"},\"aggs\":{\"Water\":{\"filter\":{\"bool\":{\"must\":[{\"terms\":{\"connectionType.keyword\":[\"WATER.NONMETERED\",\"WATER.METERED\"]}}]}},\"aggs\":{\"Sum\":{\"sum\":{\"field\":\"connectionsCreatedForConnectionType\"}}}}}},\"Sewerage Connections\":{\"date_histogram\":{\"field\":\"date\",\"interval\":\"intervalvalue\"},\"aggs\":{\"Sewerage\":{\"filter\":{\"bool\":{\"must\":[{\"terms\":{\"connectionType.keyword\":[\"SEWERAGE\"]}}]}},\"aggs\":{\"Count\":{\"sum\":{\"field\":\"connectionsCreatedForConnectionType\"}}}}}}}}" } ], "translateTenantCode": false, "chartType": "line", "valueType": "number", "action": "", "drillChart": "none", "documentType": "_doc", "aggregationPaths": [ "Water Connections", "Sewerage Connections" ], "isCumulative": true, "interval": "month", "insight": { }, "_comment": " " }, "nssWsWaterConnectionByUsageType": { "chartName": "NSS_WS_WATER_CONNECTION_BY_USAGE", "queries": [ { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"tenantId\" : \"tenantId.keyword\",\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\",\"ward\" : \"ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Connection by Usage Type\":{\"terms\":{\"field\":\"usageType.keyword\",\"size\":200},\"aggs\":{\"Water Connections\":{\"sum\":{\"field\":\"waterConnectionsForUsageType\"}}}}}}}}" } ], "translateTenantCode": false, "chartType": "pie", "valueType": "number", "action": "", "documentType": "_doc", "drillChart": "none", "aggregationPaths": [ "Connection by Usage Type" ], "insight": { }, "_comment": " " }, "nssWsSewerageConnectionByUsageType": { "chartName": "NSS_WS_SEWERAGE_CONNECTION_BY_USAGE", "queries": [ { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"tenantId\" : \"tenantId.keyword\",\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\",\"ward\" : \"ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Connection by Usage Type\":{\"terms\":{\"field\":\"usageType.keyword\",\"size\":200},\"aggs\":{\"Sewerage Connections\":{\"sum\":{\"field\":\"sewerageConnectionsForUsageType\"}}}}}}}}" } ], "translateTenantCode": false, "chartType": "pie", "valueType": "number", "action": "", "documentType": "nss", "drillChart": "none", "aggregationPaths": [ "Connection by Usage Type" ], "insight": { }, "_comment": " " }, "nssWsConnectionByChannelType": { "chartName": "NSS_WS_CONNECTION_BY_CHANNEL", "queries": [ { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\",\"ward\" : \"ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"Connection by Channel Type\":{\"terms\":{\"field\":\"channelType.keyword\",\"size\":200},\"aggs\":{\"Total Connections\":{\"sum\":{\"field\":\"connectionsCreatedForChannelType\"}}}}}}" } ], "translateTenantCode": false, "chartType": "pie", "valueType": "number", "action": "", "documentType": "_doc", "drillChart": "none", "aggregationPaths": [ "Connection by Channel Type" ], "insight": { }, "_comment": " " }, "nssWsConnectionAgeingState": { "chartName": "NSS_WS_CONNECTION_AGEING", "queries": [ { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ward\" : \"ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"State \":{\"terms\":{\"field\":\"state.keyword\",\"size\":200},\"aggs\":{\"Pending_from_0_to_3_days\":{\"filter\":{\"terms\":{\"duration.keyword\":[\"0to3Days\"]}},\"aggs\":{\"Total\":{\"sum\":{\"field\":\"pendingConnectionsForDuration\"}}}},\"Pending_from_3_to_7_days\":{\"filter\":{\"terms\":{\"duration.keyword\":[\"3to7Days\"]}},\"aggs\":{\"Total\":{\"sum\":{\"field\":\"pendingConnectionsForDuration\"}}}},\"Pending_from_7_to_15_days\":{\"filter\":{\"terms\":{\"duration.keyword\":[\"7to15Days\"]}},\"aggs\":{\"Total\":{\"sum\":{\"field\":\"pendingConnectionsForDuration\"}}}},\"Pending_from_more_than_15_days\":{\"filter\":{\"terms\":{\"duration.keyword\":[\"MoreThan15Days\"]}},\"aggs\":{\"Total\":{\"sum\":{\"field\":\"pendingConnectionsForDuration\"}}}},\"Total Connection\":{\"sum\":{\"field\":\"pendingConnectionsForDuration\"}}}}}}}}" } ], "isMdmsEnabled": false, "filterKeys": [ {"key": "state", "column": "State"} ], "chartType": "xtable", "valueType": "number", "drillChart": "nssWsConnectionAgeingULB", "action": "", "plotLabel": "State", "postAggregationTheory" : "", "isPostResponseHandler": true, "aggregationPaths": [ "Pending_from_0_to_3_days", "Pending_from_3_to_7_days", "Pending_from_7_to_15_days", "Pending_from_more_than_15_days" ], "computedFields": [ { "postAggregationTheory" : "", "actionName": "AdditiveComputedField", "fields" : ["Pending_from_0_to_3_days","Pending_from_3_to_7_days","Pending_from_7_to_15_days","Pending_from_more_than_15_days"], "newField" : "Total_Pending", "_comments": "fields are field names picked from its aggregation query to use post aggregation newField value with given new field name " } ], "insight": { }, "_comment": "" }, "nssWsConnectionAgeingULB": { "chartName": "NSS_WS_CONNECTION_AGEING", "queries": [ { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"ULB \":{\"terms\":{\"field\":\"ulb.keyword\",\"size\":200},\"aggs\":{\"Pending_from_0_to_3_days\":{\"filter\":{\"terms\":{\"duration.keyword\":[\"0to3Days\"]}},\"aggs\":{\"Total\":{\"sum\":{\"field\":\"pendingConnectionsForDuration\"}}}},\"Pending_from_3_to_7_days\":{\"filter\":{\"terms\":{\"duration.keyword\":[\"3to7Days\"]}},\"aggs\":{\"Total\":{\"sum\":{\"field\":\"pendingConnectionsForDuration\"}}}},\"Pending_from_7_to_15_days\":{\"filter\":{\"terms\":{\"duration.keyword\":[\"7to15Days\"]}},\"aggs\":{\"Total\":{\"sum\":{\"field\":\"pendingConnectionsForDuration\"}}}},\"Pending_from_more_than_15_days\":{\"filter\":{\"terms\":{\"duration.keyword\":[\"MoreThan15Days\"]}},\"aggs\":{\"Total\":{\"sum\":{\"field\":\"pendingConnectionsForDuration\"}}}},\"Total Connection\":{\"sum\":{\"field\":\"pendingConnectionsForDuration\"}}}}}}}}" } ], "isMdmsEnabled": false, "filterKeys": [ {"key": "ulb", "column": "ULB"} ], "chartType": "xtable", "valueType": "number", "drillChart": "nssWsConnectionAgeingWard", "action": "", "plotLabel": "ULB", "postAggregationTheory" : "", "isPostResponseHandler": true, "aggregationPaths": [ "Pending_from_0_to_3_days", "Pending_from_3_to_7_days", "Pending_from_7_to_15_days", "Pending_from_more_than_15_days" ], "computedFields": [ { "postAggregationTheory" : "", "actionName": "AdditiveComputedField", "fields" : ["Pending_from_0_to_3_days","Pending_from_3_to_7_days","Pending_from_7_to_15_days","Pending_from_more_than_15_days"], "newField" : "Total_Pending", "_comments": "fields are field names picked from its aggregation query to use post aggregation newField value with given new field name " } ], "insight": { }, "_comment": "" }, "nssWsConnectionAgeingWard": { "chartName": "", "queries": [ { "module": "WS", "dateRefField": "date", "requestQueryMap": "{\"state\" : \"state.keyword\",\"ulb\" : \"ulb.keyword\",\"ward\" : \"ward.keyword\"}", "indexName": "ws-national-dashboard", "aggrQuery": "{\"aggs\":{\"AGGR\":{\"filter\":{\"bool\":{}},\"aggs\":{\"Ward \":{\"terms\":{\"field\":\"ward.keyword\",\"size\":200},\"aggs\":{\"Pending_from_0_to_3_days\":{\"filter\":{\"terms\":{\"duration.keyword\":[\"0to3Days\"]}},\"aggs\":{\"Total\":{\"sum\":{\"field\":\"pendingConnectionsForDuration\"}}}},\"Pending_from_3_to_7_days\":{\"filter\":{\"terms\":{\"duration.keyword\":[\"3to7Days\"]}},\"aggs\":{\"Total\":{\"sum\":{\"field\":\"pendingConnectionsForDuration\"}}}},\"Pending_from_7_to_15_days\":{\"filter\":{\"terms\":{\"duration.keyword\":[\"7to15Days\"]}},\"aggs\":{\"Total\":{\"sum\":{\"field\":\"pendingConnectionsForDuration\"}}}},\"Pending_from_more_than_15_days\":{\"filter\":{\"terms\":{\"duration.keyword\":[\"MoreThan15Days\"]}},\"aggs\":{\"Total\":{\"sum\":{\"field\":\"pendingConnectionsForDuration\"}}}},\"Total Connection\":{\"sum\":{\"field\":\"pendingConnectionsForDuration\"}}}}}}}}" } ], "isMdmsEnabled": false, "filterKeys": [ ], "chartType": "xtable", "valueType": "number", "drillChart": "none", "action": "", "plotLabel": "Ward", "isPostResponseHandler": true, "postAggregationTheory" : "", "aggregationPaths": [ "Pending_from_0_to_3_days", "Pending_from_3_to_7_days", "Pending_from_7_to_15_days", "Pending_from_more_than_15_days" ], "computedFields": [ { "postAggregationTheory" : "", "actionName": "AdditiveComputedField", "fields" : ["Pending_from_0_to_3_days","Pending_from_3_to_7_days","Pending_from_7_to_15_days","Pending_from_more_than_15_days"], "newField" : "Total_Pending", "_comments": "fields are field names picked from its aggregation query to use post aggregation newField value with given new field name " } ], "insight": { }, "_comment": "" }, |
...