Sorry, this isn't a Logstash related question, but rather a DOS shell question. I have a simple index to create - sample below, it works in cygwin shell, but not in DOS - how do I specify the right things at the end of the command to indicate that the data follows. I tried removing single quote after -d, and tried removing -d, to no avail. Tried googling, no luck. Need a little hint from this smart group.
curl -XPUT localhost:9200/orders/orders_logs/_mapping?pretty -d'
{
"orders_logs" : {
"properties" : {
"@timestamp" : {
"type" : "date",
"format" : "strict_date_optional_time||epoch_millis"
},
"@version" : {
"type" : "string"
},
"clientId" : {
"type" : "string",
"index" : "not_analyzed"
},
"env" : {
"type" : "string",
"index" : "not_analyzed"
},
"fulfillmentModule" : {
"type" : "string",
"index" : "not_analyzed"
},
"host" : {
"type" : "string",
"index" : "not_analyzed"
},
"message" : {
"type" : "string"
}
}
}
}'