elasticsearch
API
Write a Document to the Index twitter
curl -k -X POST -H 'Content-Type: application/json' -d '{"user": "kimchy"}' https://localhost:8081/twitter/_doc/
List Indices
curl -k -X GET -H "Accept: application/json" https://localhost:8081/_cat/indices
Get Index Info
curl -k -X GET -H "Accept: application/json" https://localhost:8081/twitter
Delete Index
curl -k -X DELETE https://localhost:8081/twitter
Search
curl -k -X GET -H "Accept: application/json" https://localhost:9200/logstash-2019.06.21/_search?q=source:stderr