We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 333787a commit 2db6777Copy full SHA for 2db6777
caso/messenger/logstash.py
@@ -70,7 +70,7 @@ def push(self, records):
70
try:
71
for record in records:
72
#serialization of record
73
- rec=record.logstash_message()
+ rec=record.serialization_message()
74
#cASO timestamp added to each record
75
rec['caso-timestamp']=ct
76
#Send the record to LS
caso/record.py
@@ -49,7 +49,7 @@ def ssm_message(self):
49
raise NotImplementedError("Method not implemented")
50
51
52
- def logstash_message(self):
+ def serialization_message(self):
53
"""Render record as the expected logstash message."""
54
opts = {
55
"by_alias": True,
0 commit comments