This section provides additional information that you must know while working with Elasticsearch (ES).
To reset the password,
Go to the bin folder and execute the command given below:
elasticsearch-reset-password.bat -u elastic --url http://localhost:9200 |
Give http or https accordingly
Give http or https accordingly
Refer to the sample screenshot:
./elasticsearch-reset-password -u elastic --url http://localhost:9200 |
Give http or https accordingly
Give http or https accordingly
Also, refer to the link to know more about ES Password reset.
To delete nodes from ES,
Execute the below curl command using Postman.
curl --location --request DELETE 'http://localhost:9200/_all' |
Give http or https accordingly
Give http or https accordingly
Refer to the sample screenshot: