Hi,
I have the below json script. Would like to create singlestat with count “1” for connect customer, can advise how it can be done. Thks.
PUT customer
{
"settings" : { "number_of_shards" : 5, "number_of_replicas": 0 }, "mappings" : { "type1" : { "properties" : { "Timestamp": { "type": "date", "format": "yyyy-MM-dd HH:mm:ss" } } } }}
POST customer/type1
{
“Connect” : “Y”,
“Timestamp” : “2018-05-24 09:00:00”
}
