Usage Tips:
- Click on a keyword to enable inline editing.
- Click inside a code block to copy (excludes comments).
- Use the button to view examples.
- Click outside to collapse all examples.
Basic Commands
# List indexes
curl -s <TARGET>:9200/_cat/indices?v
Sample Output:
TO-DO
# Dump data with index name
curl -s -X GET "<TARGET>:9200/<INDEX_NAME>/_search?size=100" -H 'Content-Type: application/json' -d'
{
"query": {
"match_all": {}
}
}
' | jq .
Sample Output:
TO-DO