Files
2025-11-21 17:17:42 +01:00

277 B

  • 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>"