twilio-events
Retrieve audit event logs from Twilio Monitor Events API.
twilio-events [profile=PROFILE] [duration=DURATION] [from=FROM] [to=TO]
- profile=PROFILE
- Optional. Twilio connect profile identifier.
- duration=DURATION
- Optional. Scan only recent data. You should use s(second), m(minute), h(hour), d(day), mon(month) time unit. For example,
10smeans data from 10 seconds earlier. - from=FROM
- Optional. Start time of range. yyyyMMddHHmmss format. If you omit time part, it will be padded by zero.
- to=TO
- Optional. End time of range. yyyyMMddHHmmss format. If you omit time part, it will be padded by zero.
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| _time | Date | Time | Event creation time |
| profile | String | Profile | Connect profile code |
| src_ip | IP | Source IP | IP address of originating request |
| user_type | String | User type | Type of actor. e.g., account, api-key |
| user | String | User | Display name of the actor account |
| source | String | Source | Origin of the event. e.g., web, api, automated |
| action | String | Action | Type of event. e.g., user-session.created, account.updated |
| resource_type | String | Resource type | Type of affected resource. e.g., user-session, account, application |
| msg | String | Message | Human-readable event description |
| params | Map | Params | Additional event parameters |
| id | String | ID | Event SID |
| user_id | String | User ID | SID of the actor |
| resource_id | String | Resource ID | SID of affected resource |