Creates a new event log streaming configuration given the project and delivery method. This does not enable streaming. For that, see the Enable endpoint.
Limitations
- Only one destination per project
Creates a new event log streaming configuration given the project and delivery method. This does not enable streaming. For that, see the Enable endpoint.
The project_id the event log streaming configuration belongs to.
The type of destination to configure for streaming. This is either DATADOG or GRAFANA_LOKI.
The configuration for a destination. Only one of datadog or grafana_loki is needed, depending on the destination type.
The configuration for a Datadog destination. Required if streaming to Datadog, otherwise must be omitted. All fields are required.
The API key for the Datadog destination.
The site for the Datadog destination. One of US, US3, US5, EU, or AP1
The configuration for a Grafana Loki destination. Required if streaming to Grafana Loki, otherwise must be omitted. All fields are required.
The hostname of the Grafana Loki destination. For example, prod-01.grafana.net
The username of the Grafana Loki destination using basic auth.
The password of the Grafana Loki destination using basic auth.
Globally unique UUID that is returned with every API call. This value is important to log for debugging purposes; we may ask for this value to help identify a specific API call when helping you debug an issue.
The HTTP status code of the response. Stytch follows standard HTTP response status code patterns, e.g. 2XX values equate to success, 3XX values are redirects, 4XX are client errors, and 5XX are server errors.
The configuration for event log streaming for the project.
The configuration for a destination. Only one of datadog or grafana_loki is returned, depending on the destination type.
The configuration for the Datadog destination.
The API key for the Datadog destination.
The site for the Datadog destination. One of US, US3, US5, EU, or AP1
The configuration for the Grafana Loki destination.
The hostname of the Grafana Loki destination. For example, prod-01.grafana.net
The username of the Grafana Loki destination using basic auth.
The password of the Grafana Loki destination using basic auth.
The type of destination event log streaming is configured to send to. This is either DATADOG or GRAFANA_LOKI.
The ID of the project for which the event log streaming configuration is retrieved
The status of event log streaming for the project. This is either ACTIVE or DISABLED.