Guest User

Untitled

a guest
Oct 26th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. ##################################################################
  2. # /etc/elasticsearch/elasticsearch.yml
  3. #
  4. # Base configuration for a write heavy cluster
  5. #
  6.  
  7. # Cluster / Node Basics
  8. cluster.name: logng
  9.  
  10. # Node can have abritrary attributes we can use for routing
  11. node.name: logsearch-01
  12. node.datacenter: amsterdam
  13.  
  14. # Force all memory to be locked, forcing the JVM to never swap
  15. bootstrap.mlockall: true
  16.  
  17. ## Threadpool Settings ##
  18.  
  19. # Search pool
  20. threadpool.search.type: fixed
  21. threadpool.search.size: 20
  22. threadpool.search.queue_size: 100
  23.  
  24. # Bulk pool
  25. threadpool.bulk.type: fixed
  26. threadpool.bulk.size: 60
  27. threadpool.bulk.queue_size: 300
  28.  
  29. # Index pool
  30. threadpool.index.type: fixed
  31. threadpool.index.size: 20
  32. threadpool.index.queue_size: 100
  33.  
  34. # Indices settings
  35. indices.memory.index_buffer_size: 30%
  36. indices.memory.min_shard_index_buffer_size: 12mb
  37. indices.memory.min_index_buffer_size: 96mb
  38.  
  39. # Cache Sizes
  40. indices.fielddata.cache.size: 15%
  41. indices.fielddata.cache.expire: 6h
  42. indices.cache.filter.size: 15%
  43. indices.cache.filter.expire: 6h
  44.  
  45. # Indexing Settings for Writes
  46. index.refresh_interval: 30s
  47. index.translog.flush_threshold_ops: 50000
  48.  
  49. # Minimum nodes alive to constitute an operational cluster
  50. discovery.zen.minimum_master_nodes: 2
  51.  
  52. # Unicast Discovery (disable multicast)
  53. discovery.zen.ping.multicast.enabled: false
  54. discovery.zen.ping.unicast.hosts: [ "logsearch-01", "logsearch-02", "logsearch-03" ]
Add Comment
Please, Sign In to add comment