About the integration:


Quickly detect and resolve your infrastructure performance issues by channeling Logz.io alerts to create enriched and aggregated alerts in Freshservice. You can also set alert rules to create contextual incidents to route them to the right team for a quick resolution.


Configuration in Freshservice:


Step 1:

Head to the Admin panel, scroll to IT Operations Management, and select Monitoring Tools.


Step 2:

You are now on the Monitoring Tools list page. Select Add monitoring tool to add a new integration.


Step 3:

You will see a list of pre-configured integrations, the gateway to custom integration using webhooks, and the option to use email as a channel for alerts. Select Logz.io.


Step 4:

A URL and auth-Key will be generated. You will require this to set up the integration in Logz.in.


Configuration in Logz.io:

  1. Log into your Logz.io account.
  2. Navigate to Dashboard sidebar> Metrics> Notification endpoint tab.
     
  3. Configure a new endpoint by setting the following fields:
    1. Set type>custom.
    2. Provide a name for the integration.
    3. Add a description if you want.
    4. Set method>Post.
    5. Add the URL generated in Step 4 in the URL field.
    6. Paste the sample payload below in the JSON body and click on Run Test.
      {
        "token": "< SomeSecurityToken >",
        "account_id": "{{account_id}}",
        "alert_tags": "{{alert_tags}}",
        "alert_title": "{{alert_title}}",
        "account_name": "{{account_name}}",
        "alert_app_url": "{{alert_app_url}}",
        "alert_event_id": "{{alert_event_id}}",
        "alert_severity": "{{alert_severity}}",
        "alert_tags_json": "{{alert_tags_json}}",
        "alert_event_html": "{{alert_event_html}}",
        "alert_description": "{{alert_description}}",
        "alert_event_image": "{{alert_event_image}}",
        "alert_samples_json": "{{alert_samples_json}}",
        "alert_definition_id": "{{alert_definition_id}}",
        "alert_event_samples": "{{alert_samples}}",
        "alert_timeframe_end": "{{alert_timeframe_end}}",
        "alert_timeframe_start": "{{alert_timeframe_start}}",
        "alert_timeframe_end_epoch_millis": "{{alert_timeframe_end_epoch_millis}}",
        "alert_timeframe_start_epoch_millis": "{{alert_timeframe_start_epoch_millis}}"
      }

    7. Upon getting a successful response, click on Add Endpoint.
  4. To start generating alerts, go to the sidebar> select alerts.
  5. Click on create an alert> fill in all the alert fields and click save.

Now, if the trigger condition is satisfied, you should see an alert in Freshservice.