SolarWinds

Send logs to SolarWinds triggered by Apono access requests events

Intro

SolarWinds' flagship product, Orion platform, is a comprehensive network management solution offering real-time monitoring and performance optimization for IT infrastructures. It enables IT professionals to quickly identify and resolve issues, optimize resource utilization, and ensure smooth network operation.

Step-by-step guide

Prerequisites

ItemDescription
SolarWinds AccountAccount with the Administrator role
Set up SolarWinds over HTTPS data sourceIn SolarWinds Observability, click Add Data at the top.

In the Add Data dialog, click Logs.

Click Manual Configuration.

Create or select an API ingestion token to use when sending your logs by doing either of the following:

Select Generate New Token and enter an Ingestion Token Name, and then click Next.
Select Use Existing Token and select an ingestion token from the list, and then click Next.
Select HTTPS and click Next.

Copy the Endpoint and Token

Configure a webhook to send logs to SolarWinds


  1. In the Apono admin portal, click your avatar at the bottom left corner, click Settings and pick Webhooks
  1. Click Add Webhook
  2. Fill in the following fields:
  3. Method - POST
  4. URL - copy your data source Endpoint
  5. The webhook body- can customize to your choice, for example:
{
   "apono_event":"{{event_type}} request event from Apono made by {{data.requester.name}} - {{data.requester.email}}"
}

This is an example body. You may use other fields according to your needs. See the schema to the right of the screen to learn more about available data fields.

  1. For Headers, enter the following authorization headers:
AuthorizationBearer
X-Otel-Resource-Attrget it from your account URL as follow: https://xx-yy.cloud.solarwinds.com/<X-Otel-Resource-Attr>
  1. Triggers - you may pick one or more triggers. Triggers correspond to Apono access request statuses:
  • Created
  • Approved
  • Rejected
  • Granted
  • Expired
  • Failed
  1. Name - any name of your choosing. This will be displayed in the webhooks table.
  2. Status - if you save the webhook as active, it can be triggered immediately. If you prefer, you may also save it as inactive and activate it later.
  3. Optional: Test your webhook configuration. You should see ok as the response status.
    Please note: The Test will send logs to your SolarWinds account with mock data.

Results

Your webhook should now start sending logs in the webhook SolarWinds account once triggered: