Check Elasticsearch
Detailed instructions for the agent.
When to Use
- Use this skill when you need to check some data in Elasticsearch. This is useful when a test ran but the expected outcome is different than the actual outcome. You can use this skill to check if the data in Elasticsearch is correct, if the index is healthy, or if the mapping is correct.
Instructions
- Check with
curlthat Elasticsearch is running and accessible. - Consider by default that the cluster is running at http://localhost:9200 with the user
elasticand the passwordchangeme. If the user provided different connection details, use those instead. - You can check the status of an index with the
_cat/indicesAPI, the content of an index with the_searchAPI, and the mapping of an index with the_mappingAPI.