it seems that i was not able to copy paste the complete template , attaching the same again.
{
"index_patterns" : [
"data_center-*"
],
"template": {
"settings" : {
"number_of_shards" : "1"
},
"mappings" : {
"properties" : {
"path" : {
"type" : "keyword"
},
"metadata" : {
"properties" : {
"hostname" : {
"type" : "keyword"
},
"application" : {
"type" : "keyword"
},
"method" : {
"properties" : {
"fn" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"params" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
}
}
},
"timestamp_log" : {
"type" : "text"
},
"timezone" : {
"type" : "keyword"
},
"hostname_formatted" : {
"type" : "keyword"
},
"status_at" : {
"type" : "text"
},
"status" : {
"type" : "keyword"
},
"country" : {
"type" : "keyword"
},
"dcId" : {
"type" : "keyword"
},
"dcId2" : {
"type" : "keyword"
}
}
},
"@timestamp" : {
"type" : "date"
},
"@timestamp_log" : {
"type" : "date"
},
"@timestamp_bucket" : {
"type" : "date"
},
"@timestamp_post" : {
"type" : "date"
},
"raw" : {
"dynamic" : "true",
"properties" : { }
},
"source" : {
"type" : "keyword"
},
"alarm_name" : {
"type" : "keyword"
},
"alarm_status" : {
"type" : "keyword"
},
"alarm_type" : {
"type" : "keyword"
},
"asset_classification" : {
"type" : "keyword"
},
"ddid" : {
"type" : "long"
},
"ddidArr" : {
"type" : "long"
},
"time_stamp" : {
"type" : "keyword"
},
"data" : {
"type" : "nested",
"properties" : {
"data" : {
"type" : "nested",
"properties" : {
"amps" : {
"type" : "float"
},
"soldAmps" : {
"type" : "long"
},
"peakKvaLastSevenDaysContractualKva" : {
"type" : "long"
},
"percentageKva" : {
"type" : "float"
},
"peakKvaLastSevenDays" : {
"type" : "float"
},
"redundant" : {
"type" : "nested",
"properties" : {
"amps" : {
"type" : "float"
},
"accountNo" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"soldAmps" : {
"type" : "long"
},
"peakKvaLastSevenDaysContractualKva" : {
"type" : "long"
},
"percentageKva" : {
"type" : "float"
},
"peakKvaLastSevenDays" : {
"type" : "float"
},
"cage" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"readingTime" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"soldKva" : {
"type" : "float"
},
"zone" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"levelType" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"kva" : {
"type" : "float"
},
"lastUpdatedTime" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"levelValue" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"timestamp" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"cabinetRating" : {
"type" : "float"
},
"comparisonData" : {
"properties" : {
"yesterday" : {
"type" : "float"
},
"datapoint" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"lastweek" : {
"type" : "float"
},
"lastmonth" : {
"type" : "float"
},
"lastquarter" : {
"type" : "float"
}
}
},
"contractualKva" : {
"type" : "long"
},
"kw" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"customerName" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"redundantKva" : {
"type" : "float"
},
"primaryKva" : {
"type" : "float"
},
"peakKvaLastSevenDaysPercentage" : {
"type" : "float"
},
"sensor" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"cabinet" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"circuitNo" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"ibx" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"powerFactor" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
}
}
},
"humidityUom" : {
"type" : "text"
},
"cage" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"readingTime" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"soldKva" : {
"type" : "float"
},
"zone" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"levelType" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"accountNo" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"kva" : {
"type" : "float"
},
"temperature" : {
"type" : "float"
},
"humidity" : {
"type" : "float"
},
"lastUpdatedTime" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"levelValue" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"timestamp" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"cabinetRating" : {
"type" : "float"
},
"comparisonData" : {
"properties" : {
"yesterday" : {
"type" : "float"
},
"datapoint" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"lastweek" : {
"type" : "float"
},
"lastmonth" : {
"type" : "float"
},
"lastquarter" : {
"type" : "float"
}
}
},
"temperatureUom" : {
"type" : "text"
},
"sensorName" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"contractualKva" : {
"type" : "long"
},
"kw" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"customerName" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"redundantKva" : {
"type" : "float"
},
"primaryKva" : {
"type" : "float"
},
"peakKvaLastSevenDaysPercentage" : {
"type" : "float"
},
"sensor" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"cabinet" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"ibx" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"primary" : {
"type" : "nested",
"properties" : {
"amps" : {
"type" : "float"
},
"accountNo" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"soldAmps" : {
"type" : "long"
},
"peakKvaLastSevenDaysContractualKva" : {
"type" : "long"
},
"percentageKva" : {
"type" : "float"
},
"peakKvaLastSevenDays" : {
"type" : "float"
},
"cage" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"readingTime" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"soldKva" : {
"type" : "float"
},
"zone" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"levelType" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"kva" : {
"type" : "float"
},
"lastUpdatedTime" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"levelValue" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"timestamp" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"cabinetRating" : {
"type" : "float"
},
"comparisonData" : {
"properties" : {
"yesterday" : {
"type" : "float"
},
"datapoint" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"lastweek" : {
"type" : "float"
},
"lastmonth" : {
"type" : "float"
},
"lastquarter" : {
"type" : "float"
}
}
},
"runStatus" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
}
},
"timeScale" : {
"type" : "text"
}
}
},
"children" : {
"type" : "nested",
"properties" : {
"children" : {
"type" : "nested",
"properties" : {
"children" : {
"type" : "nested",
"properties" : {
"levelType" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"label" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"levelValue" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
}
}
},
"levelType" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"label" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"levelValue" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
}
}
},
"levelType" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"label" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"levelValue" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
}
}
},
"levelType" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"label" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"totalCount" : {
"type" : "long"
},
"levelValue" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"alarms" : {
"properties" : {
"severity" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"tagId" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"tagDisplayName" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"customerassets" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"assetClassification" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"timeProcessed" : {
"type" : "long"
},
"ack" : {
"type" : "boolean"
},
"conditionName" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"assetType" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"assetId" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"accountNo" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"customerId" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"timeNormalProcessed" : {
"type" : "long"
},
"timeTrigerred" : {
"type" : "long"
},
"ibx" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"status" : {
"type" : "boolean"
}
}
}
}
}
}
}
}