def new_message(self):
msg = {}<EOL>msg['<STR_LIT:data>'] = []<EOL>msg['<STR_LIT:type>'] = self.plugin_type<EOL>msg['<STR_LIT:source>'] = self.name<EOL>msg['<STR_LIT>'] = (datetime.datetime.utcnow() - datetime.datetime(<NUM_LIT>, <NUM_LIT:1>, <NUM_LIT:1>)).total_seconds()<EOL>return msg<EOL>
creates a new message, setting `type`, `source`, `ts`, `data`
- `data` is initialized to an empty array