diff --git a/mq/esworker_papertrail.py b/mq/esworker_papertrail.py index 4f622ec3..1e07f69c 100755 --- a/mq/esworker_papertrail.py +++ b/mq/esworker_papertrail.py @@ -255,6 +255,8 @@ class taskConsumer(object): event['summary'] = event['details']['message'] if 'severity' in event['details']: event['severity'] = event['details']['severity'] + if 'source_ip' in event['details']: + event['sourceipaddress'] = event['details']['source_ip'] else: event['severity'] = 'INFO' event['category'] = 'syslog'