Skip to content

Instantly share code, notes, and snippets.

curl -XPUT 'localhost:9200/_watcher/watch/mem_watch?pretty' -H 'Content-Type: application/json' -d'
{
"trigger": {
"schedule": {
"interval": "1m"
}
},
"input": {
"search": {
"request": {