Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Yan Naing Oo
Liferay Audit Service
August 8, 2012 1:31 AM
Answer

Yan Naing Oo

Rank: Regular Member

Posts: 180

Join Date: February 17, 2011

Recent Posts

Hi

can anybody know, liferay can check audit check for users activities ?
Yan Naing Oo
RE: Liferay Audit Service
August 8, 2012 1:39 AM
Answer

Yan Naing Oo

Rank: Regular Member

Posts: 180

Join Date: February 17, 2011

Recent Posts

Jignesh Vachhani:
Yes activity portlet can track of user activities


ok, then I have 2 thing need to know
1. this activities stored in which table ?
2. can it be retrieve deleted info ? eg, who deleted web content etc.

thank
Amit Doshi
RE: Liferay Audit Service
August 8, 2012 6:24 AM
Answer

Amit Doshi

Rank: Liferay Master

Posts: 544

Join Date: December 29, 2010

Recent Posts

Hi Yan,

Please check this link.

Hope it helps.

Thanks & Regards,
Amit Doshi
Amit Doshi
RE: Liferay Audit Service
August 8, 2012 7:00 AM
Answer

Amit Doshi

Rank: Liferay Master

Posts: 544

Join Date: December 29, 2010

Recent Posts

Yan Naing Oo:
Jignesh Vachhani:
Yes activity portlet can track of user activities


ok, then I have 2 thing need to know
1. this activities stored in which table ?
2. can it be retrieve deleted info ? eg, who deleted web content etc.

thank


1. Activities stored in audit_auditevent table in json format.
2. It will not retrive your deleted content but it will help you to find who has deleted that particular webcontent.
Yan Naing Oo
RE: Liferay Audit Service
August 8, 2012 7:30 AM
Answer

Yan Naing Oo

Rank: Regular Member

Posts: 180

Join Date: February 17, 2011

Recent Posts

Amit Doshi:
Yan Naing Oo:
Jignesh Vachhani:
Yes activity portlet can track of user activities


ok, then I have 2 thing need to know
1. this activities stored in which table ?
2. can it be retrieve deleted info ? eg, who deleted web content etc.

thank


1. Activities stored in audit_auditevent table in json format.
2. It will not retrive your deleted content but it will help you to find who has deleted that particular webcontent.



HI Amit Doshi,

I did not find out the table name audit_auditevent table. I am using 6.0.6 CE. let me know more detail if you can.

thank
Brian Kim
RE: Liferay Audit Service
August 8, 2012 10:07 AM
Answer

Brian Kim

LIFERAY STAFF

Rank: Expert

Posts: 319

Join Date: August 16, 2004

Recent Posts

I know that you're using 6.0.6 CE, but for others interested, there is also this for 6.1 EE GA2.
David H Nebinger
RE: Liferay Audit Service
August 8, 2012 5:08 PM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 7250

Join Date: September 1, 2006

Recent Posts

Yan Naing Oo:
I did not find out the table name audit_auditevent table. I am using 6.0.6 CE. let me know more detail if you can.


That's because you've been given invalid information.

There is no 'activities' portlet which captures auditing information. There is the Audit portlet and hook for EE customers. The audit portlet/hook use the audit_auditevent table.

I don't know who said use the 'activities' portlet, whether the thing exists, and what it may or may not do.

But auditing is not one of them...
Amit Doshi
RE: Liferay Audit Service
August 9, 2012 12:16 AM
Answer

Amit Doshi

Rank: Liferay Master

Posts: 544

Join Date: December 29, 2010

Recent Posts

You need to install audit hook and audit report portlet for it. And also enable the audit filters in portal-ext.properties. After installing the portlet you will be able to see the audit_auditevent table.
David H Nebinger
RE: Liferay Audit Service
August 9, 2012 6:27 AM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 7250

Join Date: September 1, 2006

Recent Posts

Amit Doshi:
You need to install audit hook and audit report portlet for it. And also enable the audit filters in portal-ext.properties. After installing the portlet you will be able to see the audit_auditevent table.


Again, this is only available to EE customers. If you're not an EE customer, you're on your own as far as implementing auditing.

That said, the core of the audit hook/portlet is to add model listeners on the entities you want to track changes on. In your listeners you can identify new record additions, updates and deletes.