...
Code Block |
---|
PUT tl-national-dashboard/_mapping/nss { "properties": { "transactions": { "type": "long" }, "todaysApplications": { "type": "long" }, "tlTax": { "type": "long" }, "adhocPenalty": { "type": "long" }, "adhocRebate": { "type": "long" }, "todaysLicenseIssuedWithinSLA": { "type": "long" }, "tradeType": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "status": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "todaysCollectionForTradeType": { "type": "long" }, "todaysTradeLicensesForStatus": { "type": "long" }, "applicationsMovedTodayForStatus": { "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 |
Definition
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 |
transactions | Number of transactions related to TL module on a given date | Nil |
todaysApplications | Number of applications related to TL module on a given date | Breakup by channel type and connection type has to be provided |
todaysCollection | Total collection related to TL module on a given date | Breakup by trade type |
todaysTradeLicenses | # of tradelicenses issued today | Breakup by status |
applicatonsMovedToday | # of Applications moved today | Breakup by status |
tlTax | Total tax applied on the trade license | Nil |
adhocPenalty | Total ad-hoc penalty on the trade license | Nil |
adhocRebate | Total ad-hoc rebate received on the trade license | Nil |