Splunk Integration

Splunk collects and indexes machine-generated big data from your infrastructure and applications – websites, servers, databases, networks, custom applications and other sources. Splunk platform provides data search, analysis and visualization capabilities for real-time and historical insight into your business and IT metrics.

AlertSite can be configured to send monitoring alerts to Splunk. With this integration, you can more easily match website availability and performance problems with the system log events around that time.

In This Guide

Requirements & Limitations

Splunk User Account for Integration

AlertSite needs a user account to send data to Splunk. The account you can use depends on your Splunk edition.

Configure AlertSite Source Type in Splunk

You need to create a new source type in Splunk for AlertSite data so Splunk can properly parse AlertSite alerts and extract timestamps. You can add source types in Splunk web interface, or by editing the props.conf file.

Add Splunk as Alert Recipient in AlertSite

  1. Log in to AlertSite UXM as an Admin or Co-Admin user.
  2. From the top menu, select Settings > Manage Integrations.
  3. Click Splunk in the integrations list.
  4. In the dialog that opens, click New Recipient.
  5. Enter your Splunk server information.

    Adding a Splunk recipient

    Setting Description
    Name An optional display name for your Splunk server.
    Splunk URL Your Splunk server URL, including the prefix (https:// or http://) and the Splunk management port (default is 8089). For example:


    Note: The management port differs from the web port used to access Splunk in web browsers. See Network ports in Splunk documentation.
    User and Password A user account on your Splunk server that will be used to post data to Splunk. This can be an admin account or any account with the edit_tcp capability (see above). LDAP and SAML accounts are not supported.
  6. Click Send Test Notification and Submit. AlertSite will send a test alert to Splunk to verify connectivity.

    Send a test alert to Splunk

    If the alert is sent successfully, you can find it in Splunk using the search string "sourcetype=alertsite test".

    If an error appears, double-check your Splunk host name, port, login and password and try again.

  7. After the previous window closes, click next to the created recipient.

    Splunk recipient list

  8. Switch to the Availability Alerts tab. Select how many consecutive alerts to send to Splunk, and whether to send a “clear” notification. For a description of available settings, see Recipient Properties.

    Splunk recipient properties: Availabillity alerts

  9. To receive performance alerts, switch to the Performance Alerts tab and enable them. Select which alert types to receive and whether to repeat successive performance alerts.

    Splunk recipient properties: Performance alerts

  10. Click Submit.

That’s it! Splunk will now receive alerts from your AlertSite monitors.


View Alerts in Splunk

You can view and analyze AlertSite monitor alerts using Splunk’s search engine. For a description of fields included in alerts, see Alert Data Fields. You can find sample alerts below.

Default Splunk fields are set to:

Sample Queries

Find alerts from all AlertSite monitors:


Alerts from the Home Page monitor:

sourcetype=alertsite details.device_name="Home Page"

Alerts triggered from London:

sourcetype=alertsite london

Sample Alerts

Example of an availability alert:


"service_key": "https://splunk.myserver.com:8089/",

"event_type": "trigger",

"incident_key": "245103 - 72",

"description": "MyMonitor at location Boston, MA",

"client": "AlertSite Monitoring Service",

"client_url": "https://www.alertsite.com/login",

"details": {

"location_num": "72",

"http_status": "HTTP/1.1 200 OK",

"location": "Boston, MA",

"status": "5",

"custid": "C77767",

"status_text": "Validation failed",

"errcount": "1",

"device_id": "245103",

"device_typecode": "w",

"device_name": "MyMonitor",

"device_type": "Web Server",

"timestamp": "2015-09-25 06:01:32",

"transaction": "0",

"company": "SmartBear"



Example of an “all clear” notification (sent when an availability problem is fixed):


"client": " AlertSite Monitoring Service"

"client_url": " https://www.alertsite.com/login"

"description": "Already fixed the issue with MyMonitor at location Boston, MA",

"details": {

"fixed at": " 2015-10-16 15:17:01"


"event_type": " resolve",

"incident_key": " 125011 - 20",

"service_key": ""


Example of a performance alert:


"service_key": "https://splunk.myserver.com:8089/",

"event_type": "trigger",

"incident_key": "MyMonitor - Performance",

"description": "MyMonitor",

"client": "AlertSite Monitoring Service",

"client_url": "https://www.alertsite.com/login",

"details": {

"notify_type": "perf_error",

"locations": [


"perf_actual": "3.503",

"perf_location_num": "5130",

"perf_location": "London, UK - Docklands",

"perf_threshold": "3.500",

"perf_status": "20"



"perf_actual": "2.361",

"perf_location_num": "19",

"perf_location": "Miami, Florida",

"perf_threshold": "2.000",

"perf_status": "10"



"status": "20",

"custid": "C14553",

"device_id": "271069",

"device_name": "MyMonitor",

"timestamp": "2015-10-05 12:41:50",

"company": "SmartBear",

"perf_count": 2



See Also

© 2017 SmartBear Software. All rights reserved.      Terms of Use · Privacy Policy