Parse CSV file
$ npm install --save @365admin/office365-auditlogparser
Search the audit log in the Office 365 Security & Compliance Center
Parse CSV data in this format
CreationDate,UserIds,Operations,AuditData
parser = require("@365admin/office365-auditlogparser")
parser.parse(__dirname+'/sampleauditlog.csv', function (err,lines){
if (err) throw err
console.log(lines)
process.exit(0)
})
MIT © Niels Gregers Johansen