Skip to content

Commit

Permalink
Syslog security filter: add 'ident' value to logged message
Browse files Browse the repository at this point in the history
  • Loading branch information
mgladi committed Jul 12, 2016
1 parent b52215e commit b8573d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/code/plugins/filter_syslog_security.rb
Expand Up @@ -36,7 +36,7 @@ def filter(tag, time, record)
# The time may be slightly in the future from the ingestion time.
record['Timestamp'] = OMS::Common.format_time(Time.now.to_f)

record['Message'] = record['message']
record['Message'] = record['ident'] + ': ' + record['message']
record.delete 'message'
record.delete 'time'

Expand Down

0 comments on commit b8573d4

Please sign in to comment.