Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to know if X-Pack is installed in Elasticsearch?

I install Elasticsearch with Debian package and installed X-pack in it. Now, I want to verify if X-Pack is successfully installed.

Is there a simple way to do verify this?

like image 867
Jane S. Avatar asked Jan 29 '23 17:01

Jane S.


2 Answers

You can call

GET _cat/plugins?v
like image 106
dadoonet Avatar answered Feb 04 '23 23:02

dadoonet


xpack comes pre-installed from ElasticSearch 6.3 onwards. Refer to : https://www.elastic.co/what-is/open-x-pack for more info on this.

You can check if xpack is installed using: curl -XGET 'http://localhost:9200/_nodes'

The relevant output snippet looks like below:

"attributes": {
                "ml.machine_memory": "67447586816",
                "xpack.installed": "true",
                "transform.node": "true",
                "ml.max_open_jobs": "512",
                "ml.max_jvm_size": "27917287424"
            }
like image 42
Binita Bharati Avatar answered Feb 05 '23 01:02

Binita Bharati