Guest User

apache_sizing_1.json

a guest
Nov 25th, 2016
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. {
  2.  
  3. "template": "elk_workshop",
  4. "settings": {
  5. "index.refresh_interval": "5s",
  6. "index.refresh_interval": "30s",
  7. "number_of_shards": 5,
  8. "number_of_replicas": 0
  9. },
  10. "mappings": {
  11. "_default_": {
  12. "dynamic_templates": [
  13. {
  14. "message_field": {
  15. "mapping": {
  16. "omit_norms": true,
  17. "type": "text"
  18. },
  19. "match_mapping_type": "string",
  20. "match": "message"
  21. }
  22. },
  23. {
  24. "string_fields": {
  25. "mapping": {
  26. "omit_norms": true,
  27. "type": "text",
  28. "fields": {
  29. "raw": {
  30. "ignore_above": 256,
  31. "type": "keyword"
  32. }
  33. }
  34. },
  35. "match_mapping_type": "string",
  36. "match": "*"
  37. }
  38. }
  39. ],
  40. "properties": {
  41. "geoip": {
  42. "dynamic": true,
  43. "properties": {
  44. "location": {
  45. "type": "geo_point"
  46. }
  47. },
  48. "type": "object"
  49. },
  50. "@version": {
  51. "type": "keyword"
  52. }
  53. },
  54. "_all": {
  55. "enabled": false
  56. }
  57. }
  58. }
  59. }
Add Comment
Please, Sign In to add comment