This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import time | |
from datetime import datetime, timezone | |
# For the raw events given (a List of Dictionaries) returns normalized log events as a List of | |
# Dictionaries having the following keys: 'server', 'date', 'severity', 'process', 'message'. | |
def transmogrify(raw_events: [dict]) -> [dict]: | |
# Write your solution here and in any helper functions you wish to create. |
OlderNewer