Querying Log Data with Metric Temporal Logic