Advertisement
Guest User

ES config

a guest
Nov 12th, 2015
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. path.data: /var/lib/elasticsearch
  2. path.logs: /var/log/elasticsearch
  3. path.plugins: /usr/share/elasticsearch/plugins
  4.  
  5. node.name: [node]
  6.  
  7. cluster.name: elk
  8.  
  9. node.master: [true if master, else false]
  10. node.data: [true if data, else false
  11.  
  12.  
  13. http.enabled: true
  14.  
  15. cloud.aws.access_key: **********************
  16. cloud.aws.secret_key: ************************************************
  17. cloud.aws.region: us-west-2
  18. cloud.protocol: https
  19. cloud.ec2.protocol: https
  20. cloud.s3.protocol: https
  21. cloud.node.auto_attributes: true
  22.  
  23. discovery.type: ec2
  24. discovery.ec2.tag.Cluster: elk
  25. discovery.ec2.ping_timeout: 10s
  26.  
  27. discovery.zen.minimum_master_nodes: 2
  28. discovery.zen.ping.multicast.enabled: false
  29. discovery.zen.ping.timeout: 10s
  30. discovery.zen.ping.retries: 10
  31.  
  32. bootstrap.mlockall: true
  33. script.disable_dynamic: false
  34.  
  35. monitor.jvm.gc.ParNew.warn: 1000ms
  36. monitor.jvm.gc.ParNew.info: 700ms
  37. monitor.jvm.gc.ParNew.debug: 400ms
  38.  
  39. monitor.jvm.gc.ConcurrentMarkSweep.warn: 10s
  40. monitor.jvm.gc.ConcurrentMarkSweep.info: 5s
  41. monitor.jvm.gc.ConcurrentMarkSweep.debug: 2s
  42.  
  43. ####### the following section will only appear in /etc/elasticsearch/elasticsearch.yml if data node #######
  44. index.number_of_shards: 3
  45. index.number_of_replicas: 2
  46.  
  47. indices.ttl.interval: 60s
  48. indices.ttl.bulk_size: 100
  49.  
  50. index.search.slowlog.threshold.query.warn: 10s
  51. index.search.slowlog.threshold.query.info: 5s
  52. index.search.slowlog.threshold.query.debug: 2s
  53. index.search.slowlog.threshold.query.trace: 500ms
  54.  
  55. index.search.slowlog.threshold.fetch.warn: 1s
  56. index.search.slowlog.threshold.fetch.info: 800ms
  57. index.search.slowlog.threshold.fetch.debug: 500ms
  58. index.search.slowlog.threshold.fetch.trace: 200ms
  59.  
  60. index.indexing.slowlog.threshold.index.warn: 10s
  61. index.indexing.slowlog.threshold.index.info: 5s
  62. index.indexing.slowlog.threshold.index.debug: 2s
  63. index.indexing.slowlog.threshold.index.trace: 500ms
  64. #########################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement