[GENERAL] How to get login user name and host name in pgaudit

Поиск
Список
Период
Сортировка
От rakeshkumar464
Тема [GENERAL] How to get login user name and host name in pgaudit
Дата
Msg-id 1508675576206-0.post@n3.nabble.com
обсуждение исходный текст
Ответы Re: [GENERAL] How to get login user name and host name in pgaudit  (Arthur Zakirov <a.zakirov@postgrespro.ru>)
Список pgsql-general
I installed latest pgaudit (1.2) with pg10.  I am testing it and I see that
it does not log the login user name and host name. 

For example, if user mary is running select * from sensitive_table, I want
Mary and the machine from where she ran in the log.

It seems to log the ids which needs to be joined with pg_ views to convert
it into login user name and host name.

any pointers on how to get it done.

thanks.



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

В списке pgsql-general по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [GENERAL] Weird performance difference
Следующее
От: Martin Moore
Дата:
Сообщение: [GENERAL] Postgres 9.6 fails to start on VMWare