LOONYCORN
www.loonycorn.com
Managing Functions in Couchbase Kishan Iyer LOONYCORN - - PowerPoint PPT Presentation
Managing Functions in Couchbase Kishan Iyer LOONYCORN www.loonycorn.com Overview Redacting sensitive information from logs Function statistics from the Eventing Service Statistics graphs for functions Auditing in Couchbase Couchbase
LOONYCORN
www.loonycorn.com
Admin events: Administrative and configuration changes to cluster Data events: Attempts to access and change data
Successful login Unsuccessful login Bucket creation Bucket TTL modification User creation Index creation
When auditing is enabled, logged events are saved to audit.log Events are audited on a per-node basis Each node captures its own events only For cluster-wide records, manual consolidation by admin is required
Default log file is named audit.log Log file is automatically rotated, saved, and timestamped New empty audit.log created Rotation happens either
minutes (min) to 7 days (max)
By default, auditing is disabled If auditing is enabled, certain events will always be logged
Other events can be individually marked for exclusion from audit.log
Several broad categories of audit events
Within each category, individual events maybe Data or Admin events
All audit events of the Eventing Service are Admin Events Create/Delete/Export/Import Function Save/Fetch/Delete Drafts and Config List Running Functions Start/Stop Debug
Eventing Service maintains two types of logs
write to e.g. from try-catch blocks
write to
Couchbase Server provides way to redact sensitive data from log Post-redaction, logs can be shared for troubleshooting Avoids potential regulatory compliance issues related to data-sharing