Cursor Extractor 2021 Now

schema = "timestamp": r"(\d4-\d2-\d2T\d2:\d2:\d2.\d+Z)", "request_id": r"RequestId: ([a-f0-9-]+)", "duration_ms": r"Duration: (\d+.\d+) ms", "memory_mb": r"MemorySize: (\d+) MB"

def __init__(self, schema: Dict[str, str]): self.schema = schema # field -> regex pattern self.results = [] Cursor Extractor