def METHOD_NAME(self) -> dict:
    q = {
        "bool": {
            "must": [
                {
                    "range": {
                        ES_TIMESTAMP: {
                            'from': self._from_date(),
                            'to': self._to_date()
                        }
                    }
                }, {
                    'query_string': {
                        'query': '%s %s' % (self._hosts(), self._qfilter()),
                        'analyze_wildcard': True
                    }
                }
            ]
        },
    }
    event_type = self.request.GET.get("event_type", None)
    if event_type is not None:
        q["bool"]["must"].append({
            "term": {
                "event_type.keyword": {
                    "value": event_type
                }
            }
        })
    q["bool"].update(self._es_bool_clauses())
    return q