summary refs log tree commit diff
path: root/nixos/tests/elk.nix
diff options
context:
space:
mode:
authorBas van Dijk <v.dijk.bas@gmail.com>2020-04-29 15:23:50 +0200
committerBas van Dijk <v.dijk.bas@gmail.com>2020-04-29 15:23:50 +0200
commitdcb01353b3041e067958f3bdde85635730475ee3 (patch)
treeb2c87545b992fe6e167295468e43499b9a89fa98 /nixos/tests/elk.nix
parent0162890ce0641f48a57bc0f0f62b24fe0ccb7e94 (diff)
downloadnixpkgs-dcb01353b3041e067958f3bdde85635730475ee3.tar
nixpkgs-dcb01353b3041e067958f3bdde85635730475ee3.tar.gz
nixpkgs-dcb01353b3041e067958f3bdde85635730475ee3.tar.bz2
nixpkgs-dcb01353b3041e067958f3bdde85635730475ee3.tar.lz
nixpkgs-dcb01353b3041e067958f3bdde85635730475ee3.tar.xz
nixpkgs-dcb01353b3041e067958f3bdde85635730475ee3.tar.zst
nixpkgs-dcb01353b3041e067958f3bdde85635730475ee3.zip
nixos/tests/elk.nix: fix issue in the elasticsearch-curator
The elasticsearch-curator was not deleting indices because the indices
had ILM policies associated with them. This is now fixed by
configuring the elasticsearch-curator with `allow_ilm_indices: true`.

Also see: https://github.com/elastic/curator/issues/1490
Diffstat (limited to 'nixos/tests/elk.nix')
-rw-r--r--nixos/tests/elk.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/elk.nix b/nixos/tests/elk.nix
index d3dc6dde135..7e87197ed9f 100644
--- a/nixos/tests/elk.nix
+++ b/nixos/tests/elk.nix
@@ -101,6 +101,7 @@ let
                       prefixed indices. Ignore the error if the filter does not result in an
                       actionable list of indices (ignore_empty_list) and exit cleanly.
                     options:
+                      allow_ilm_indices: true
                       ignore_empty_list: True
                       disable_action: False
                     filters: