```
select distinct interface from system.session_log

Code: 36. DB::Exception: Unexpected value 6 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS) (version 22.3.3.44 (official build))
```

Current interfaces in table definitions:

```
    `interface` Enum8('TCP' = 1, 'HTTP' = 2, 'gRPC' = 3, 'MySQL' = 4, 'PostgreSQL' = 5),
```

There are two more in ClickHouse already:

Interface::LOCAL
Interface::TCP_INTERSERVER

cc: @Enmk 
const UUID & auth_id,
        const ClientInfo & info,
        const String & user,
        const Exception & reason)
{
    SessionLogElement log_entry(auth_id, SESSION_LOGIN_FAILURE);
    log_entry.user = user;
    log_entry.auth_failure_reason = reason.message();
    log_entry.client_info = info;
    log_entry.user_identified_with = AuthenticationType::NO_PASSWORD;
    add(log_entry);
}
void SessionLog::addLogOut(const UUID & auth_id, const String & user, const ClientInfo & client_info)
{
    auto log_entry = SessionLogElement(auth_id, SESSION_LOGOUT);
    log_entry.user = user;
    log_entry.client_info = client_info;
    add(log_entry);
}
}