> Parse CSV file
npm install @365admin/office365-auditlogparser> Parse CSV file
$ npm install --save @365admin/office365-auditlogparser
`
How to enable audit logging
Search the audit log in the Office 365 Security & Compliance Center
Usage
Parse CSV data in this format
CreationDate,UserIds,Operations,AuditData
Detailed properties
`js
parser = require("@365admin/office365-auditlogparser")
parser.parse(__dirname+'/sampleauditlog.csv', function (err,lines){
if (err) throw err
console.log(lines)
process.exit(0)
})
``