Skip to main content
Wyvern has a standardized way of logging events that’s useful either for debugging, observability and training/improving your models. Here are the events wyvern records:

Custom logging

Here’s an example of how to log custom event data within Wyvern:
  1. import the EntityEventData and build your custom entity event data like the EmailEventData in this exampl e
  2. import event_logger from wyvern.components.events.events and call event_logger.log_custom_events to log your custom event s

Integration

By default, event logging is always enabled. This might cause error if you have not set up your event logging integration. To disable Wyvern event logging, set the EVENT_LOGGING_ENABLED=false in your environment.

Raw Event Logging Integration

Currently wyvern is only integrated with AWS kinesis, which sends all the events to your destination. Steps to set up kinesis with Wyvern:
  1. Check out Creating an Amazon Kinesis Data Firehose Delivery Stream to set up kinesis and send the data to s3.
  2. Once you set up your kinesis delivery system, set up an IAM role that has access to the firehose delivery stream.
  3. Set up your AWS configurations in the environment for running wyvern:
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_REGION_NAME

Data Warehouse Integration

Snowflake

Use snowpipe to auto ingest wyvern’s events to your data warehouse.

Event Transformation (Coming soon)

Wyvern provides a built-in transformer to transform the raw event logs into event tables show in this page.