Skip to content

Instantly share code, notes, and snippets.

@willejs
Created October 28, 2013 18:09

Revisions

  1. willejs created this gist Oct 28, 2013.
    84 changes: 84 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,84 @@
    {
    "order": 0,
    "template": "logstash-*",
    "settings": {
    "index.store.compress.stored": "true",
    "index.number_of_shards": "20"
    },
    "mappings": {
    "_default_": {
    "properties": {
    "@fields": {
    "dynamic": true,
    "path": "full",
    "properties": {
    "thread_name": {
    "type": "string",
    "index": "not_analyzed"
    },
    "service": {
    "type": "string",
    "index": "not_analyzed"
    },
    "level": {
    "type": "string",
    "index": "not_analyzed"
    },
    "level_value": {
    "type": "integer",
    "index": "not_analyzed"
    },
    "clientToken": {
    "type": "string",
    "index": "not_analyzed"
    },
    "clide": {
    "type": "string",
    "index": "not_analyzed"
    },
    "username": {
    "type": "string",
    "index": "not_analyzed"
    },
    "source": {
    "type": "string",
    "index": "not_analyzed"
    }
    },
    "type": "object"
    },
    "@timestamp": {
    "index": "not_analyzed",
    "type": "date"
    },
    "@message": {
    "index": "analyzed",
    "type": "string"
    },
    "@source": {
    "index": "not_analyzed",
    "type": "string"
    },
    "@type": {
    "index": "not_analyzed",
    "type": "string"
    },
    "@tags": {
    "index": "not_analyzed",
    "type": "string"
    },
    "@source_host": {
    "index": "not_analyzed",
    "type": "string"
    },
    "@source_path": {
    "index": "not_analyzed",
    "type": "string"
    }
    },
    "_all": {
    "enabled": false
    }
    }
    }
    }