Skip to content

CSV Format for Python Parser #1

Description

@arnydo

Thank you for sharing these tools and a great webinar!

I have exported the audit logs via Powershell to a CSV.

When importing the CSV into the Python script I get an error that the data is malformed.
Is there a particular format that this needs to be in aside form what is exported straight from Powershell?

Line 4996 appears to be malformed - please check. Skipping for now.
Line 4997 appears to be malformed - please check. Skipping for now.
Line 4998 appears to be malformed - please check. Skipping for now.
Line 4999 appears to be malformed - please check. Skipping for now.
Line 5000 appears to be malformed - please check. Skipping for now.

Script to export data:

Search-UnifiedAuditLog -StartDate 2018-07-08 -EndDate 2018-07-18 -ResultSize 5000 | export-csv .\olaf\auditlog.csv -NoTypeInformation

Thanks again!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions