Skip to content

Stop reading memory usage statistics from Elasticsearch. #26998

@jpountz

Description

@jpountz

Elasticsearch is removing the ability to get information about the memory usage of segments in order to prepare for the upgrade to Lucene 9. elastic/elasticsearch#75274

Beats should stop collecting this information. Specifically the following fields would no longer exist in the response when referring to segments:

  • memory
  • memory_in_bytes
  • terms_memory
  • terms_memory_in_bytes
  • stored_fields_memory
  • stored_fields_memory_in_bytes
  • term_vectors_memory
  • term_vectors_memory_in_bytes
  • norms_memory
  • norms_memory_in_bytes
  • points_memory
  • points_memory_in_bytes
  • doc_values_memory
  • doc_values_memory_in_bytes

For instance we would need to remove these fields:

- name: memory_in_bytes
type: long
- name: terms_memory_in_bytes
type: long
- name: stored_fields_memory_in_bytes
type: long
- name: term_vectors_memory_in_bytes
type: long
- name: norms_memory_in_bytes
type: long
- name: points_memory_in_bytes
type: long
- name: doc_values_memory_in_bytes
type: long
.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions