Advertisement
Guest User

es-mapping.json

a guest
Oct 1st, 2013
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.05 KB | None | 0 0
  1. {
  2.     "template": "flume-*",
  3.     "settings": {
  4.         "indices" : {
  5.             "ttl.interval" : "5s",
  6.             "ttl.bulk_size": 1
  7.         }
  8.     },
  9.     "mappings": {
  10.         "es-river": {
  11.             "_ttl" : {
  12.                 "enabled" : true,
  13.                 "default" : "1m",
  14.                 "index": "not_analyzed"
  15.             },
  16.             "properties": {
  17.                 "request_type": {
  18.                     "type": "string",
  19.                     "store": "yes",
  20.                     "index": "analyzed"
  21.                 },
  22.                 "provider_name": {
  23.                     "type": "string",
  24.                     "store": "yes",
  25.                     "index": "analyzed"
  26.                 },
  27.                 "creation_time": {
  28.                     "type": "string",
  29.                     "store": "yes",
  30.                     "index": "analyzed"
  31.                 },
  32.                 "process_id": {
  33.                     "type": "string",
  34.                     "store": "yes",
  35.                     "index": "analyzed"
  36.                 },
  37.                 "url": {
  38.                     "type": "string",
  39.                     "store": "yes",
  40.                     "index": "analyzed"
  41.                 },
  42.                 "request_code": {
  43.                     "type": "string",
  44.                     "store": "yes",
  45.                     "index": "analyzed"
  46.                 },
  47.                 "message": {
  48.                     "type": "string",
  49.                     "store": "yes",
  50.                     "index": "analyzed"
  51.                 },
  52.                 "source": {
  53.                     "type": "string",
  54.                     "store": "yes",
  55.                     "index": "analyzed"
  56.                 },
  57.                 "host": {
  58.                     "type": "string",
  59.                     "store": "yes",
  60.                     "index": "analyzed"
  61.                 },
  62.                 "timestamp": {
  63.                     "type": "date",
  64.                     "store": "yes",
  65.                     "index": "analyzed"
  66.                 }
  67.             }
  68.         }
  69.     }
  70. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement