jq -r --arg start "<start_timestamp>" --arg end "<end_timestamp>" 'select(.msg | contains("query") and .durationMillis >= 100 and .timestamp >= $start and .timestamp <= $end) | .msg' mongodb.log


Comments

Popular posts from this blog