From 1c0344bea29eb55dfbdc45724d1048dafdf85f1d Mon Sep 17 00:00:00 2001 From: SG Date: Tue, 16 Jan 2024 08:57:46 -0700 Subject: [PATCH] customizing index settings work in progress, idaholab/Malcolm#313 --- shared/bin/opensearch_index_size_prune.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/bin/opensearch_index_size_prune.py b/shared/bin/opensearch_index_size_prune.py index ffcf5901e..df02b1fa7 100755 --- a/shared/bin/opensearch_index_size_prune.py +++ b/shared/bin/opensearch_index_size_prune.py @@ -295,7 +295,7 @@ def main(): if debug: eprint( - f'{len(osInfo)} {args.index} indices occupy {humanfriendly.format_size(humanfriendly.parse_size(f"{totalSizeInMegabytes}mb"))} ({humanfriendly.format_size(humanfriendly.parse_size(f"{limitMegabytes}mb"))} allowed)' + f'{totalIndices} {args.index} indices occupy {humanfriendly.format_size(humanfriendly.parse_size(f"{totalSizeInMegabytes}mb"))} ({humanfriendly.format_size(humanfriendly.parse_size(f"{limitMegabytes}mb"))} allowed)' ) # get list of indexes in index pattern(s) and sort by creation date