@classmethod
    def get_filebeat_template(cls, filename="/etc/templates/filebeat.json"):
        """Get the filebeat config from template file."""
        with open(filename, 'r') as template_file:
            return json.load(template_file)