def METHOD_NAME(client, correlation_id=None, resource_group=None, resource_id=None,
                      resource_provider=None, start_time=None, end_time=None, caller=None, status=None, max_events=50,
                      select=None, offset='6h'):
    odata_filters = _build_activity_log_odata_filter(correlation_id, resource_group, resource_id, resource_provider,
                                                     start_time, end_time, caller, status, offset)
    select_filters = _activity_log_select_filter_builder(select)
    logger.info('OData Filter: %s', odata_filters)
    logger.info('Select Filter: %s', select_filters)
    activity_log = client.list(filter=odata_filters, select=select_filters)
    return _limit_results(activity_log, max_events)