Advertisement
Guest User

ElasticSearch yml file

a guest
Jun 15th, 2015
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 3.45 KB | None | 0 0
  1. ##################### Elasticsearch Configuration Example #####################
  2. #node.rack: ${RACK_ENV_VAR}
  3. cluster.name: logstash
  4.  
  5. #################################### Node #####################################
  6. #node.name: "Franz Kafka"
  7. #node.master: true
  8. #node.data: true
  9. #node.master: false
  10. #node.data: true
  11. #node.master: true
  12. #node.data: false
  13. #node.master: false
  14. #node.data: false
  15. #node.rack: rack314
  16.  
  17. #################################### Index ####################################
  18. #index.number_of_shards: 5
  19. #index.number_of_replicas: 1
  20. #index.number_of_shards: 1
  21. #index.number_of_replicas: 0
  22.  
  23. #################################### Paths ####################################
  24. #path.conf: /path/to/conf
  25. path.conf: /Users/w/Desktop/data/elasticsearch-1.6.0/config
  26. #path.data: /path/to/data
  27. path.data: /Users/w/Desktop/data/elasticsearch-1.6.0/data/elasticsearch/nodes/0/indices
  28. #path.data: /path/to/data1,/path/to/data2
  29. #path.work: /path/to/work
  30. #  path.logs: /usr/local/var/log/elasticsearch/
  31.  
  32. # /usr/local/var/log/elasticsearch/elasticsearch_w.log    || This was previously uncommented but did not appear to have an impact
  33.  
  34. #path.plugins: /path/to/plugins
  35.  
  36.  
  37. #################################### Plugin ###################################
  38.  
  39. #plugin.mandatory: mapper-attachments,lang-groovy
  40.  
  41. ################################### Memory ####################################
  42. #bootstrap.mlockall: true
  43.  
  44. ############################## Network And HTTP ###############################
  45. #network.bind_host: 192.168.0.1
  46. #network.publish_host: 192.168.0.1
  47. #network.host: 192.168.0.1
  48. #transport.tcp.port: 9300
  49. #transport.tcp.compress: true
  50. #http.port: 9200
  51. #http.max_content_length: 100mb
  52. #http.enabled: false
  53.  
  54. ################################### Gateway ###################################
  55. #gateway.type: local
  56. #gateway.recover_after_nodes: 1
  57. #gateway.recover_after_time: 5m
  58. #gateway.expected_nodes: 2
  59.  
  60. ############################# Recovery Throttling #############################
  61. #cluster.routing.allocation.node_initial_primaries_recoveries: 4
  62. #cluster.routing.allocation.node_concurrent_recoveries: 2
  63. #indices.recovery.max_bytes_per_sec: 20mb
  64. #indices.recovery.concurrent_streams: 5
  65.  
  66. ################################## Discovery ##################################
  67. #discovery.zen.minimum_master_nodes: 1
  68. #discovery.zen.ping.timeout: 3s
  69. #discovery.zen.ping.multicast.enabled: false
  70.  
  71. ################################## Slow Log ##################################
  72. #index.search.slowlog.threshold.query.warn: 10s
  73. #index.search.slowlog.threshold.query.info: 5s
  74. #index.search.slowlog.threshold.query.debug: 2s
  75. #index.search.slowlog.threshold.query.trace: 500ms
  76.  
  77. #index.search.slowlog.threshold.fetch.warn: 1s
  78. #index.search.slowlog.threshold.fetch.info: 800ms
  79. #index.search.slowlog.threshold.fetch.debug: 500ms
  80. #index.search.slowlog.threshold.fetch.trace: 200ms
  81.  
  82. #index.indexing.slowlog.threshold.index.warn: 10s
  83. #index.indexing.slowlog.threshold.index.info: 5s
  84. #index.indexing.slowlog.threshold.index.debug: 2s
  85. #index.indexing.slowlog.threshold.index.trace: 500ms
  86.  
  87. ################################## GC Logging ################################
  88.  
  89. #monitor.jvm.gc.young.warn: 1000ms
  90. #monitor.jvm.gc.young.info: 700ms
  91. #monitor.jvm.gc.young.debug: 400ms
  92.  
  93. #monitor.jvm.gc.old.warn: 10s
  94. #monitor.jvm.gc.old.info: 5s
  95. #monitor.jvm.gc.old.debug: 2s
  96.  
  97. ################################## Security ################################
  98. #http.jsonp.enable: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement