Skip to content

Releases: elastic/curator

5.7.3 (24 April 2019)

25 Apr 01:27
Compare
Choose a tag to compare

Bug Fix

  • Still further package collisions with urllib3 between boto3 and
    requests. It was working, but with an unacceptable error, which is
    addressed in release 5.7.3. (untergeek)

5.7.2 (24 April 2019)

24 Apr 23:47
Compare
Choose a tag to compare

Bug Fix

  • Fix urllib3 dependency collision on account of boto3 (untergeek)

5.7.0 (24 April 2019)

24 Apr 18:35
d89759e
Compare
Choose a tag to compare

New

  • Support for elasticsearch-py 7.0.0 (untergeek)
  • Support for Elasticsearch 7.0 #1371 (untergeek)
  • TravisCI testing for Elasticsearch 6.5, 6.6, 6.7, and 7.0 (untergeek)
  • Allow shrink action to use multiple data paths #1350 (IzekChen)

Bug Fixes

  • Fix regex pattern filter to use re.search #1355 (matthewdupre)
  • Report rollover results in both dry-run and regular runs. Requested
    in #1313 (untergeek)
  • Hide passwords in DEBUG logs. Requested in #1336 (untergeek)
  • With ILM fully released, Curator tests now correctly use the
    allow_ilm_indices option. (untergeek)

Documentation

  • Many thanks to those who submitted documentation fixes, both factual as
    well as typos!

5.6.0 (13 Nov 2018)

14 Nov 04:11
Compare
Choose a tag to compare

With apologies for the very belated update, and the low number of issue fixes and new features, here's 5.6.0.
Please note that my development cycle has been renewed in earnest. Watch for more frequent updates and patches coming soon.

New

  • The empty filter has been exposed for general use. This filter matches
    indices with no documents. (jrask) #1264
  • Added tests for Elasticsearch 6.3 and 6.4 releases. (untergeek)
  • Sort indices alphabetically before sorting by age.
    (tschroeder-zendesk) #1290
  • Add shards filtertype (cushind) #1298

Bug Fixes

  • Fix YAML linting so that YAML errors are caught and displayed on the
    command line. Reported in #1237 (untergeek)
  • Pin click version for compatibility. (Andrewsville) #1280
  • Allow much older epoch timestamps (rsteneteg) #1296
  • Reindex action respects ignore_empty_list flag (untergeek) #1297
  • Update ILM index version minimum to 6.6.0 (untergeek)
  • Catch reindex failures properly. Reported in #1260 (untergeek)

Documentation

  • Added Reindex example to the sidebar. (Nostalgiac) #1227
  • Fix Rollover example text and typos. (untergeek)

5.5.4 (23 May 2018)

23 May 16:02
Compare
Choose a tag to compare

Bug Fix

  • Extra args in show.py prevented show_snapshots from executing (untergeek)

5.5.3 (21 May 2018)

21 May 22:16
Compare
Choose a tag to compare

Short release cycle here specifically to address the Snapshot restore issue
raised in #1192

Changes

  • By default, filter out indices with index.lifecycle.name set. This can
    be overridden with the option allow_ilm_indices with the caveat that
    you are on your own if there are conflicts. NOTE: The Index Lifecycle
    Management feature will not appear in Elasticsearch until 6.4.0
  • Removed some unused files from the repository.

Bug Fixes

  • Fix an ambiguously designed Alias test (untergeek)
  • Snapshot action will now raise an exception if the snapshot does not
    complete with state SUCCESS. Reported in #1192 (untergeek)
  • The show_indices and show_snapshots singletons were not working within the
    new framework. They've been fixed now.

5.5.2 (14 May 2018)

14 May 22:47
Compare
Choose a tag to compare

Changes

  • The alias, restore, rollover, and shrink actions have been
    added to curator_cli, along with a revamped method to manage/add
    actions in the future.
  • Updated certifi dependency to 2018.4.16
  • Added six dependency
  • Permit the use of versions 6.1 and greater of the elasticsearch python
    module. There are issues with SSL contexts in the 6.0 release that prevent
    Curator from being able to use this version. Currently the requirement
    version string is elasticsearch>=5.5.2,!=6.0.0,<7.0.0
  • Start of pylint cleanup, and use of six string_types. (untergeek)

Bug Fixes

  • unit_count_pattern setting can cause indices to mistakenly be included
    in an index filter. Fixed in #1206 (soenkeliebau)
  • Fix rollover _check_max_size() call. Reported in #1202 by @diranged
    (untergeek).
  • Update tested versions of Elasticsearch. (untergeek).
  • Update setup.cfg to install dependencies during source install. (untergeek)
  • Fix reference to unset variable name in log output at
    https://github.com/elastic/curator/blob/v5.5.1/curator/actions.py#L2145
    It should be idx instead of index. (untergeek).
  • Alias action should raise NoIndices exception if warn_if_no_indices is
    True, and no add or remove sub-actions are found, rather than raising
    an ActionError. Reported in #1209 (untergeek).

Documentation

  • Clarify inclusive filtering for allocated filter. Fixed in #1203 (geekpete)
  • Fix Kibana filter description. #1199 (quartett-opa)
  • Add missing documentation about the new_name option for rollover.
    Reported in #1197 (untergeek)

5.5.1 (22 March 2018)

22 Mar 18:05
Compare
Choose a tag to compare

Bug Fixes

  • Fix pip installation issues for older versions of Python #1183 (untergeek)

5.5.0 (21 March 2018)

21 Mar 18:42
Compare
Choose a tag to compare

New Features

  • Add wait_for_rebalance as an option for shrink action. By default
    the behavior remains unchanged. You can now set this to False though to
    allow the shrink action to only check that the index being shrunk has
    finished being relocated and it will not wait for the cluster to
    rebalance. #1129 (tschroeder-zendesk)
  • Work around for extremely large cluster states. #1142 (rewiko)
  • Add CI tests for Elasticsearch versions 6.1 and 6.2 (untergeek)
  • Add Elasticsearch datemath support for snapshot names #1078 (untergeek)
  • Support max_size as a rollover condition for Elasticsearch versions
    6.1.0 and up. #1140 (untergeek)
  • Skip indices with a document count of 0 when using source: field_stats
    to do age or period type filtering. #1130 (untergeek)

Bug Fixes

  • Fix missing node information in log line. #1142 (untergeek)
  • Fix default options in code that were causing schema validation errors
    after voluptuous upgrade to 0.11.1. Reported in #1149, fixed in #1156 (untergeek)
  • Disallow empty lists as reindex source. Raise exception if that happens.
    Reported in #1139 (untergeek)
  • Set a timeout_override for delete_snapshots to catch cases where
    slower repository network and/or disk access can cause a snapshot delete
    to take longer than the default 30 second client timeout. #1133 (untergeek)
  • Add AWS ES 5.1 support. #1172 (wanix)
  • Add missing period filter arguments for delete_snapshots. Reported in
    #1173 (untergeek)
  • Fix kibana filtertype to catch newer index names. Reported in #1171 (untergeek)
  • Re-order the closed indices filter for the Replicas action to take place
    before the empty list check. Reported in #1180 by @agomerz (untergeek)

General

  • Deprecate testing for Python 3.4. It is no longer being supported by Python.
  • Increase logging to show error when master_only is true and there are
    multiple hosts.

Documentation

  • Correct a misunderstanding about the nature of rollover conditions. #1144 (untergeek)
  • Correct links to the field_stats API, as it is non-existent in Elasticsearch
    6.x. (untergeek)
  • Add a warning about using forcemerge on active indices. #1153 (untergeek)
  • Fix select URLs in pip installation from source to not be 404 #1133 (untergeek)
  • Fix an error in regex filter documentation #1138 (arne-cl)

5.4.1 (6 December 2017)

07 Dec 04:40
4a529c2
Compare
Choose a tag to compare

Bug Fixes

  • Improve Dockerfile to build from source and produce slimmer image
    #1111 (mikn)
  • Fix filter_kibana to correctly use exclude argument
    #1116 (cjuroz)
  • Fix ssl_no_validate behavior within AWS ES #1118 (igalarzab)
  • Improve command-line exception management #1119 (4383)
  • Make alias action always process remove before add
    to prevent undesired alias removals. #1120 (untergeek)

General

  • Bump ES versions in Travis CI

Documentation

  • Remove unit_count parameter doc for parameter that no longer
    exists #1107 (dashford)
  • Add missing exclude: True in timestring docs #1117 (GregMefford)