How to get audit log using couchbase server in php web application

I need to create custom audit log in php web application. I am getting Audit log from cb server console. i want to get all log in cb server. for example - add document , edit document , delete document and ect.
I am using

  • CB 5.0
  • sync gateway 1.5
  • OS - windows 8.1

Since the audit log is a file on disk, you should be able to access it from your custom PHP application as long as it’s accessible. Depending on your requirements, I might recommend moving it to another location by an administrative user, then process it in another place.

Most of what you need to build your app is documented on the audit logging info. Good luck!

1 Like