Skip to content

Instantly share code, notes, and snippets.

@calufa
Created May 25, 2016 14:08
Show Gist options
  • Save calufa/7bca91efee13419a5ae9c73c0a9177eb to your computer and use it in GitHub Desktop.
Save calufa/7bca91efee13419a5ae9c73c0a9177eb to your computer and use it in GitHub Desktop.
import time
def parse_log(logger, data):
event = {}
event["msg_title"] = str(time.time())
event["timestamp"] = int(time.time())
event["msg_text"] = str(time.time())
event["alert_type"] = "INFO"
event["event_type"] = "java-collection-1"
return event
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment