Skip to content

Instantly share code, notes, and snippets.

@axamon
Last active August 29, 2015 14:05
Show Gist options
  • Save axamon/19746c4c995972bcbc4c to your computer and use it in GitHub Desktop.
Save axamon/19746c4c995972bcbc4c to your computer and use it in GitHub Desktop.
curl -XPUT 'http://localhost:9200/cdnlogs-2014-08-29'
curl -XPUT 'http://localhost:9200/cdnlogs-2014-08-29/cdnlogs/_mapping' -d ' {
"cdnlogs" : {
"properties" : {
"timestamp" : {"type" : "date", "ignore_malformed": true, "format" : "[dd/MMM/yyyy:HH:mm:ss.SSSZ]" }
}
}
}
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment