Guest User

Untitled

a guest
Sep 6th, 2016
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.73 KB | None | 0 0
  1. {
  2.   "mygraylog2" : {
  3.     "order" : 0,
  4.     "template" : "graylog_*",
  5.     "settings" : {
  6.       "index" : {
  7.         "analysis" : {
  8.           "analyzer" : {
  9.             "analyzer_keyword" : {
  10.               "filter" : "lowercase",
  11.               "tokenizer" : "keyword"
  12.             }
  13.           }
  14.         }
  15.       }
  16.     },
  17.     "mappings" : {
  18.       "store_generic" : {
  19.         "mapping" : {
  20.           "analyzer" : "standard",
  21.           "type" : "string"
  22.         },
  23.         "match" : "*"
  24.       }
  25.     },
  26.     "aliases" : { }
  27.   },
  28.   "graylog-internal" : {
  29.     "order" : -2147483648,
  30.     "template" : "graylog2_*",
  31.     "settings" : {
  32.       "index" : {
  33.         "analysis" : {
  34.           "analyzer" : {
  35.             "analyzer_keyword" : {
  36.               "filter" : "lowercase",
  37.               "tokenizer" : "keyword"
  38.             }
  39.           }
  40.         }
  41.       }
  42.     },
  43.     "mappings" : {
  44.       "message" : {
  45.         "_source" : {
  46.           "enabled" : true
  47.         },
  48.         "dynamic_templates" : [ {
  49.           "internal_fields" : {
  50.             "mapping" : {
  51.               "index" : "not_analyzed",
  52.               "type" : "string"
  53.             },
  54.             "match" : "gl2_*"
  55.           }
  56.         }, {
  57.           "store_generic" : {
  58.             "mapping" : {
  59.               "index" : "not_analyzed"
  60.             },
  61.             "match" : "*"
  62.           }
  63.         } ],
  64.         "properties" : {
  65.           "full_message" : {
  66.             "analyzer" : "standard",
  67.             "index" : "analyzed",
  68.             "type" : "string"
  69.           },
  70.           "streams" : {
  71.             "index" : "not_analyzed",
  72.             "type" : "string"
  73.           },
  74.           "source" : {
  75.             "analyzer" : "analyzer_keyword",
  76.             "index" : "analyzed",
  77.             "type" : "string"
  78.           },
  79.           "message" : {
  80.             "analyzer" : "standard",
  81.             "index" : "analyzed",
  82.             "type" : "string"
  83.           },
  84.           "timestamp" : {
  85.             "format" : "yyyy-MM-dd HH:mm:ss.SSS",
  86.             "type" : "date"
  87.           }
  88.         }
  89.       }
  90.     },
  91.     "aliases" : { }
  92.   },
  93.   "mygraylog" : {
  94.     "order" : 0,
  95.     "template" : "graylog_*",
  96.     "settings" : {
  97.       "index" : {
  98.         "analysis" : {
  99.           "analyzer" : {
  100.             "analyzer_keyword" : {
  101.               "filter" : "lowercase",
  102.               "tokenizer" : "keyword"
  103.             }
  104.           }
  105.         }
  106.       }
  107.     },
  108.     "mappings" : {
  109.       "dynamic_templates" : {
  110.         "internal_fields" : {
  111.           "mapping" : {
  112.             "analyzer" : "standard",
  113.             "index" : "analyzed",
  114.             "type" : "string"
  115.           },
  116.           "match" : "gl2_*"
  117.         }
  118.       }
  119.     },
  120.     "aliases" : { }
  121.   }
  122. }
Advertisement
Add Comment
Please, Sign In to add comment