Count or grep log messages in a specified time range from a Logstash Elasticsearch server.