'Filter the hunt actions in the given timerange.'

def GetReportData(self, get_report_args, token):

    ret = rdf_report_plugins.ApiReportData(representation_type=rdf_report_plugins.ApiReportData.RepresentationType.AUDIT_CHART, audit_chart=rdf_report_plugins.ApiAuditChartReportData(used_fields=self.__class__.USED_FIELDS))
    try:
        timerange_offset = get_report_args.duration
        timerange_end = (get_report_args.start_time + timerange_offset)
        rows = []
        try:
            for event in report_utils.GetAuditLogEntries(timerange_offset, timerange_end, token):
                if (event.action in self.__class__.TYPES):
                    rows.append(event)
        except ValueError:
            pass
    except IOError:
        pass
    rows.sort(key=(lambda row: row.timestamp), reverse=True)
    ret.audit_chart.rows = rows
    return ret
