Authenticated Audit Logs
Retrieves authenticated audit logs from Arize AI platform, capturing user activities and GraphQL operations.
Sync Type: Incremental
Requirements
Before configuring this input, you need to:
-
Create an Arize API Key:
- Log in to your Arize account.
- Navigate to your account settings.
- Generate a service API key in API Keys > Service Keys.
- Copy and securely store the API key.
-
Required Permissions:
- While creating the API key select the role as Admin.
- In Account Settings > Service Bots, there will be a record associated with the name of your API key. Make sure the role here is Admin.
Details
The Arize Authenticated Audit Logs input connects to Arize's GraphQL API to fetch user activity logs. It tracks:
- GraphQL operations performed by users.
- Operation names and query text.
- Variables passed with operations.
- User information (email).
- Timestamps of activities.
State Management: This input uses incremental sync with an ascending cursor pattern. It tracks the last seen log entry by ID and timestamp, ensuring no duplicate records are fetched. On the first sync, it fetches data from the last 180 days unless a different backfill start time is specified.
Pagination: The input automatically handles pagination using cursor-based pagination from the Arize GraphQL API, fetching all available audit logs page by page.
Configuration
Settings
| Setting | Type | Required | Default | Description |
|---|---|---|---|---|
| Interval | integer | yes | 10 | Time interval in seconds between API calls |
| Backfill Start Time | string | No | 180 days ago | The date to start fetching data from. If not specified, no past records will be fetched. |
Secrets
| Secret | Type | Required | Description |
|---|---|---|---|
| API Key | string | Yes | Your Arize API key |
Rate Limits
| Scope | Limit | Window | Notes |
|---|---|---|---|
| API Requests | 100 | 1 minute | Applied at client level |
Headers: x-api-key, Content-Type
The input automatically handles rate limiting by throttling requests to approximately 1.67 requests per second (100 requests per minute). It also includes automatic retry logic with up to 3 attempts for failed requests.
Troubleshooting
Common Issues
-
Authentication Failures:
- Verify your API key is valid and has not expired
- Ensure the API key has permissions to access account audit logs
- Check that you're using the correct API key for your Arize account
-
No Data Returned:
- Verify that audit logs exist in the time range you're querying
- Check if your account has audit logging enabled
- Ensure the backfill start time is not set too far in the future
-
GraphQL Errors:
- Check the error message in the logs for specific GraphQL errors
- Verify the API endpoint URL is correct
- Ensure your Arize account supports the authenticatedAuditLogs query
-
Rate Limit Issues:
- The input automatically handles rate limiting
- If you see rate limit warnings, the input will wait and retry
- Consider reducing page_size if you're consistently hitting rate limits