16.10 - DBC.LogOnOffX - Teradata Database

Teradata Database Security Administration

Product
Teradata Database
Release Number
16.10
Release Date
June 2017
Content Type
Administration
Security
Publication ID
B035-1100-161K
Language
English (United States)

The DBC.LogOnOffX view provides information about the success and duration of user sessions, in addition to LogonSource information. This view is helpful to investigate failed logon attempts.

This query returns a list of failed logon attempts that occurred in the last seven days:

SELECT LogDate,LogTime,UserName (FORMAT 'X(10)'),Event
FROM DBC.LogOnOffX
WHERE Event NOT LIKE ('%Logo%') AND LogDate GT DATE - 7

ORDER BY LogDate, LogTime ;

LogDate   LogTime   UserName  Event
---------------------------------------------------------
07/07/30  08:55:22  Unknown   Non-existent User
07/10/21  08:59:53  BRM       BAD ACCOUNT