Skip to main content

Overview

S4Kit logs every request made through the platform, providing a complete audit trail for monitoring, debugging, and compliance.

Log Information

Each log entry captures:

Viewing Logs

Dashboard

  1. Navigate to Logs
  2. View the log stream
  3. Click on any entry for details

Filtering

Filter logs by: Search logs by:
  • Request ID
  • Entity name
  • Error message
  • Path

Log Details

Click on a log entry to see full details:

Error Tracking

Error Logs

Filter for errors:
  1. Set Status filter to “Error”
  2. View failed requests
  3. Check error details

Error Information

Error logs include:

Common Errors

Performance Monitoring

Response Times

Monitor performance with timing data:
  • Total Time: End-to-end request duration
  • SAP Time: Time spent in SAP
  • Proxy Time: S4Kit overhead

Identifying Slow Requests

  1. Sort by response time
  2. Look for patterns:
    • Specific entities
    • Large result sets
    • Complex filters

Optimization Tips

For slow requests:
  • Use $select to limit fields
  • Add $top to limit results
  • Optimize $filter expressions
  • Use pagination instead of fetching all

Log Retention

Retention Period

Logs are retained based on your plan:

Exporting Logs

Export logs for compliance or analysis:
  1. Set your filters
  2. Click Export
  3. Choose format (JSON, CSV)
  4. Download the file

Using Request IDs

Every request has a unique ID for correlation:

In SDK Errors

In Support Requests

When reporting issues:
  1. Note the request ID
  2. Include timestamp
  3. Describe expected vs actual behavior
  4. Share the request ID with support

Webhooks (Coming Soon)

Log webhooks are planned for a future release.
Send logs to external systems:
  • SIEM integration
  • Custom monitoring
  • Alert systems

Best Practices

Regular Review

  • Check error rates daily
  • Monitor response times
  • Look for unusual patterns

Alerting

Set up alerts for:
  • Error rate spikes
  • Response time degradation
  • Rate limit hits

Compliance

For audit requirements:
  • Export logs regularly
  • Store exports securely
  • Document retention policies