HTTP Destination

With the HTTP Log Destination, you can send the full stream of Reporting events from Sym to any URL that accepts POST requests.

Simply create a Log Destination of type http, and add it to your Environment.

Example Configuration Snippet

# Note: This snippet is truncated. Other unrelated resources have been omitted

resource "sym_log_destination" "http" {
  type = "http"
  settings = {
    url = "https://symops.com" # The URL that events will be sent to
  }
}

resource "sym_environment" "this" {
  name            = "main"
  runtime_id      = sym_runtime.this.id
  error_logger_id = sym_error_logger.slack.id
  
  # Add your log destinations here
  log_destination_ids = [sym_log_destination.http.id]

  integrations = {
    slack_id = sym_integration.slack.id
  }
}

Did this page help you?