code: def _get_syslog_format(event_type):
      
      syslog_format_template = get_template('syslog_format.json')
      fmt = syslog_format_template.render(
          event_type=event_type,
          host=dbconfig.get('instance_name', default='local')
      )
  
      # Load and redump string, to get rid of any extraneous whitespaces
      return json.dumps(json.loads(fmt))
docs: Take an event type argument and return a python logging format
  
      In order to properly format the syslog messages to current standard, load the template and perform necessary
      replacements and return the string.
  
      Args:
          event_type (str): Event type name
  
      Returns:
          `str`