Skip to content

Instantly share code, notes, and snippets.

@rahul-m
rahul-m / mrisk
Created December 11, 2013 23:05
Gist that creates a repository to store log messages
# Remove old data
curl -XDELETE "http://localhost:9200/mrisk/"
# Create index with settings
curl -XPOST "http://localhost:9200/mrisk/" -d '
{
"settings":{
"index":{
"analysis":{
"analyzer":{