...
Code Block |
---|
PUT mcollect-national-dashboard/_mapping/nss { "properties": { "todaysCollectionForCategory": { "type": "long" }, "todaysCollectionForPaymentMode": { "type": "long" }, "todaysCollectionForStatus": { "type": "long" }, "paymentMode": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "status": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "category": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "challanStatus": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "numberOfReceiptsForStatus": { "type": "long" }, "numberOfReceiptsForPaymentMode": { "type": "long" }, "numberOfReceiptsForCategory": { "type": "long" }, "numberOfChallansForChallanStatus": { "type": "long" }, "numberOfChallansForCategory": { "type": "long" }, "ward": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "ulb": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "region": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "state": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "date": { "type": "date", "format": "dd-MM-yyyy HH:mm:ss||dd-MM-yyyy||epoch_millis||dd-MM-yyyy'T'HH:mm:ss.SSSZ" } } } |
The following is the table that describes the properties mentioned above:
Attributes | Defintion | Breakup |
---|---|---|
ulb | The district or region for which the data is ingested. | Nil |
state | The ULB name for which the data is ingested. | Nil |
ward | The ward for which the data is ingested. | Nil |
numberOfCategories | Number of categories related to mCollect module on a given date | Nil |
todaysCollection | Total collection related to mCollect module on a given date | Breakup by paymentMode, status and category has to be provided |
numberOfReceipts | Number of receipts issued on a given date | Breakup by paymentMode, status and category has to be provided |
numberOfChallans | Number of challans issued on a given date | Breakup by challanStatus and category has to be provided. |