https://github.com/apache/airflow/blob/main/airflow/cli/commands/task_command.py#L145
"""View to show records from Log table."""
    route_base = "/log"
    datamodel = AirflowModelView.CustomSQLAInterface(Log)  
    class_permission_name = permissions.RESOURCE_AUDIT_LOG
    method_permission_name = {
        "list": "read",
    }
    base_permissions = [
        permissions.ACTION_CAN_READ,
        permissions.ACTION_CAN_ACCESS_MENU,
    ]
    list_columns = [
        "id",
        "dttm",
        "dag_id",
        "task_id",
        "event",
        "execution_date",
        "owner",
        "owner_display_name",
        "extra",
    ]
    search_columns = [
        "dttm",
        "dag_id",