def METHOD_NAME(self):
    query_pattern = self.build_query_pattern()
    query_result = self.syslog_ng_ctl.query(pattern="*{}*".format(query_pattern))['stdout'].splitlines()
    return self.parse_result(result=query_result, result_type="query")