Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. {
  2. "order": 0,
  3. "template": "clog-*",
  4. "settings": {
  5. "index": {
  6. "mapping": {
  7. "total_fields": {
  8. "limit": "2000"
  9. }
  10. },
  11. "refresh_interval": "5s",
  12. "number_of_shards": "7",
  13. "number_of_replicas": "1"
  14. }
  15. },
  16. "mappings": {
  17. "_default_": {
  18. "dynamic_templates": [{
  19. "message_field": {
  20. "mapping": {
  21. "index": "false",
  22. "type": "text"
  23. },
  24. "match_mapping_type": "text",
  25. "match": "message"
  26. }
  27. }, {
  28. "text_fields": {
  29. "mapping": {
  30. "index": "false",
  31. "type": "text"
  32. },
  33. "match_mapping_type": "text",
  34. "match": "*"
  35. }
  36. }],
  37. "_all": {
  38. "enabled": false
  39. },
  40. "properties": {
  41. "geoip": {
  42. "dynamic": true,
  43. "type": "object",
  44. "properties": {
  45. "location": {
  46. "type": "geo_point"
  47. }
  48. }
  49. },
  50. "subject_decoded": {
  51. "type": "text"
  52. },
  53. "bytes_in": {
  54. "type": "long"
  55. },
  56. "user_name": {
  57. "type": "text",
  58. "fields": {
  59. "keyword": {
  60. "type": "keyword",
  61. "ignore_above" : 256
  62. }
  63. }
  64. },
  65. "login": {
  66. "type": "text",
  67. "fields": {
  68. "keyword": {
  69. "type": "keyword",
  70. "ignore_above" : 256
  71. }
  72. }
  73. },
  74. "source_ip": {
  75. "type": "ip"
  76. },
  77. "local_ip": {
  78. "type": "ip"
  79. },
  80. "@timestamp": {
  81. "format": "dateOptionalTime",
  82. "type": "date"
  83. },
  84. "bytes_out": {
  85. "type": "long"
  86. },
  87. "size": {
  88. "type": "long"
  89. },
  90. "blacklist_ip": {
  91. "type": "ip"
  92. },
  93. "@version": {
  94. "index": "not_analyzed",
  95. "type": "integer"
  96. },
  97. "host": {
  98. "index": "not_analyzed",
  99. "type": "text"
  100. }
  101. }
  102. }
  103. },
  104. "aliases": {}
  105. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement