Run a "lite" elasticsearch

We are using elasticsearch in CI jobs, so we want it as liter as possible. With only the desired features: "search" ! This is very serious problem, elasticsearch is looking too "big" and I see many people leaving it for simpler alternative, especially for prometheus or meili .

By instance how to disable unwanted stuff such as ILM ?

djobi-elasticsearch-1  | {"type": "server", "timestamp": "2022-10-19T16:41:10,107Z", "level": "INFO", "component": "o.e.c.m.MetadataCreateDataStreamService", "": "docker-cluster", "": "943593fca4ee", "message": "adding data stream [ilm-history-5] with write index [.ds-ilm-history-5-2022.10.19-000001], backing indices [], and aliases []", "cluster.uuid": "Il-hmPHlTbmsle2LmRfUHA", "": "0vGUSDYPQh2vJ2De5Vu9tw"  }

We run elasticsearch like this:

      - node.roles=master,data
      - xpack.monitoring.collection.enabled=false
      - xpack.monitoring.enabled=false
      - ingest.geoip.downloader.enabled=false
      - bootstrap.memory_lock=true
      - discovery.type=single-node
      - http.cors.enabled=true
      - http.cors.allow-origin=*
      - ES_JAVA_OPTS=-Xms512m -Xmx512m -Dmapper.allow_dots_in_name=true

You can stop ILM but you cannot disable it unfortunately.

Thanks you, finally we built a mock with nodejs.

So the elastic stack (ES + kibana) will become bigger and bigger every year, very sad

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.