Skip to content

Commit c3627b2

Browse files
author
Vladimir Klochan
committed
Changed type of @Version field to string
1 parent 721a113 commit c3627b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

logstash/formatter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def format(self, record):
119119
# Create message dict
120120
message = {
121121
'@timestamp': self.format_timestamp(record.created),
122-
'@version': 1,
122+
'@version': '1',
123123
'message': record.getMessage(),
124124
'host': self.host,
125125
'path': record.pathname,

0 commit comments

Comments
 (0)