o365audit

Collect logs from Office 365 Audit

Type: o365audit

Sample YAML

sources:
  o365audit_example:
    type: o365audit
    client.id: ''
    tenant.id: ''
    secret.key: ''
    route_label: ''
  # optional:
  #   <key>: <value>

Fields Reference

Below are tables for Base and Optional sections. Columns: Key, Label, Type, Default, Required, Depends on, Enum / Notes.

Base

Key

Label

Type

Default

Required

Enum / Notes

Depends on

client.id

Client ID

string

β€œβ€

βœ…

The unique identifier assigned to your Azure AD application entry.

β€”

tenant.id

Tenant ID

string

β€œβ€

βœ…

The unique identifier for your Azure AD tenant.

β€”

secret.key

Secret Key

string

β€œβ€

βœ…

The credential created for your application entry. (Actual key is only shown once upon creation)

β€”

route_label

Event Routing Label

string

β€œβ€

β€”

The label to use in routing these events to a destination. Defaults to source name-type.

β€”

Optional

Key

Label

Type

Default

Required

Enum / Notes

Depends on

description

Description

string

β€œβ€

β€”

The description of the entry.

β€”

poll_schedule

Poll Schedule

string

10m

β€”

Poll for new audit logs every secs. The format can include a number appended with the unit, d (days), h (hours), m (minutes), s (seconds) or a combination, such as 1h30m.

β€”

hourstocollect

Hours to Collect

int

24

β€”

Look back this many hours for audit logs (max supported by Office API is 168). This should be greater than the poll schedule

β€”

audit.general

Audit General

bool

true

β€”

Collect Audit General logs.

β€”

audit.azureactivedirectory

Audit AzureActiveDirectory

bool

true

β€”

Collect Audit AzureActiveDirectory logs.

β€”

audit.exchange

Audit Exchange

bool

true

β€”

Collect Audit Exchange logs.

β€”

audit.sharepoint

Audit SharePoint

bool

true

β€”

Collect Audit SharePoint logs.

β€”

dlp.all

DLP All

bool

true

β€”

Collect DLP All logs.

β€”

maxthreads

Max Threads

int

10

β€”

Maximum number of simultaneous threads retrieving logs.

β€”