Guest User

Untitled

a guest
Nov 19th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. 3:
  2. action: shrink
  3. description: >-
  4. Shrink selected indices on the node with the most available space. Delete source index after successful shrink,
  5. then reroute the shrunk index with the provided parameters.
  6. options: &shrinkOptions
  7. ignore_empty_list: True
  8. shrink_node: es-data-master-warm-0
  9. shrink_suffix: '-warm'
  10. node_filters:
  11. permit_masters: True
  12. number_of_shards: 1
  13. number_of_replicas: 0
  14. wait_for_active_shards: 1
  15. extra_settings:
  16. settings:
  17. index.codec: best_compression
  18. post_allocation:
  19. key: box_type
  20. value: warm
  21. delete_after: True
  22. wait_for_completion: True
  23. continue_if_exception: True
  24. filters:
  25. - *timestringWithDotsOlder
  26. - *timestringWithDotsYounger
  27. - *excludeWarm
  28. 4:
  29. action: forcemerge
  30. description: "Perform a forceMerge on selected indices to 'max_num_segments' per shard"
  31. options: &forcemergeOptions
  32. ignore_empty_list: True
  33. max_num_segments: 2
  34. delay:
  35. timeout_override: 21600
  36. continue_if_exception: True
  37. filters:
  38. - *timestringWithDotsOlder
  39. - *timestringWithDotsYounger
  40. - &includeWarm
  41. filtertype: pattern
  42. kind: suffix
  43. value: '-warm'
Add Comment
Please, Sign In to add comment