6 lines
277 B
Markdown
6 lines
277 B
Markdown
- Get a list of indices
|
|
- `curl "<IP>:9200/_cat/indices?v"`
|
|
- Extract last bit of data from given index
|
|
- `curl "<IP>:9200/<index_name>>/_search?pretty&size=4"`
|
|
- Search for keywords in index
|
|
- `curl "<IP>:9200/<index_name>/_search?pretty&size=12&q=message:<search_string>"` |