Skip to main content

Splunk Integration

Stream NetBeez NextGen alert, scheduled test, aggregate alert, and incident JSON events to Splunk HTTP Event Collector (HEC) with pre-save verification.

Written by Panickos Neophytou

Splunk Integration streams NetBeez alert, Scheduled Test Alert, aggregate alert, and Incident events directly to a Splunk Enterprise or Splunk Cloud HTTP Event Collector (HEC) endpoint (/services/collector) as structured JSON events.

In this article:

Step 1: Create an HTTP Event Collector (HEC) Token in Splunk

  1. Sign in to Splunk Enterprise or Splunk Cloud as an administrator and navigate to Settings → Data Inputs → HTTP Event Collector.

  2. Click Global Settings and verify that All Tokens is set to Enabled (note your HEC port—commonly 8088 on Splunk Enterprise or 443 on Splunk Cloud—and whether Enable SSL is checked).

  3. Click New Token, enter a descriptive Name (for example, NetBeez NextGen), leave Enable indexer acknowledgment unchecked unless your HEC receiver proxy handles acknowledgments, select your target Splunk index(es), and complete the wizard.

  4. Copy the generated Token Value.

Step 2: Configure & Test Splunk in NetBeez Settings

Users with the Administrator role configure Splunk under Settings:

  1. Click Settings in the left navigation sidebar, expand Integrations & Notifications, and select Splunk (/settings/integrations/splunk).

  2. Complete the Splunk Configuration fields:

    • Endpoint URL (required) — Full URL to your Splunk HEC collector endpoint ending in /services/collector (for example, https://splunk.example.com:8088/services/collector or https://http-inputs-<stack>.splunkcloud.com:443/services/collector).

    • HEC Token (required on initial setup) — Paste the Splunk HEC token value. NetBeez sends this value in the Authorization: Splunk <hec_token> HTTP header and stores it encrypted. Once saved, you can leave HEC Token blank when updating other fields unless rotating the token.

    • SSL Verification — Checked by default to validate your Splunk HEC server's TLS certificate. Uncheck only if your on-premises Splunk HEC listener uses a self-signed certificate.

  3. Click Test to send a live HEC test event ({"event":"Test message from NetBeez Splunk integration"}) using your current form values before saving. Confirm the Splunk Test Succeeded toast banner appears and verify the event in Splunk Search.

  4. Click Apply Changes to save the configuration.

Settings Integrations &amp; Notifications Splunk page showing Endpoint URL, HEC Token, SSL Verification checkbox, Test and Apply Changes buttons, and four-column Notifications card

Step 3: Select Alert & Incident Notification Events

  1. In the Notifications card, switch the top-right toggle to Enabled.

  2. Toggle the desired event types across the four columns and click Save:

Splunk HEC JSON Event Structure

NetBeez posts each notification to /services/collector with a 5-second open timeout and 10-second read timeout (suppressed automatically during Maintenance Mode). Every HEC envelope includes sourcetype: "_json", host (your NetBeez dashboard URL), time (epoch seconds), and event containing the full JSON:API resource payload (identical to the Webhook Integrationdata object):

{
  "time": 1763906400,
  "host": "https://netbeez.example.com",
  "sourcetype": "_json",
  "event": {
    "data": {
      "id": "4e1c2b3a-8d9f-4123-9abc-0123456789ab",
      "type": "alert",
      "attributes": {
        "severity": 1,
        "severity_name": "alert",
        "alert_dedup_id": "4e1c2b3a-8d9f-4123-9abc-0123456789ab",
        "event_type": "ALERT_OPEN",
        "agent": "Pittsburgh HQ",
        "target": "Corporate DNS",
        "destination": "10.10.1.53",
        "message": "5 consecutive DNS checks failed",
        "test_type": "DnsTest",
        "alert_ts": 1763906400000
      }
    }
  }
}
  • Aggregate Alerts: When Aggregate Alerts is enabled, NetBeez sends one HEC JSON payload per alert in the batch, including aggregation_entity_type ("agent", "target", "wifi_profile", or "scheduled_test") and test_counts inside event.data.attributes.

  • Incidents: Incident payloads set event.data.type to "incident" with event ("INCIDENT_OPEN" or "INCIDENT_CLEARED"), incident_id, entity name/UUID, dashboard url, event_ts, and incident_ts.

Did this answer your question?