Notes to Self

Alex Sokolsky's Notes on Computers and Programming

Troubleshooting Mongo

From the local log files you also see the progress, see this example:

tail -f /var/log/mongodb/mongodb.log | grep Repl

Direct connection using curl

from a community post:

Normal spl based kv lookup query:

inputlookup summary where LastUpdateTime<1468532752

Mongodb query format reference.

{"LastUpdateTime": {"$lt": 1468532752}}

Curl command url encoded

curl -k -u admin:changeme -X DELETE https://localhost:8089/servicesNS/nobody/myapp/storage/collections/data/summary?query=%7B%22LastUpdateTime%22%3A%20%7B%22%24lt%22%3A%201468532752%7D%7D