Skip to content

Data Ingestion (HEC)

The HEC/HTTP Event Data Connector enables ingestion of data from any source using the HTTP or HTTPS protocol. Use it to send structured or raw event data to Next-Gen SIEM programmatically.

RequirementDetail
SubscriptionFalcon Next-Gen SIEM or Falcon Next-Gen SIEM 10GB
CrowdStrike cloudsUS-1, US-2, EU-1, US-GOV-1
PermissionsAdministrator or Connector Manager access to the Falcon console
  1. In the Falcon console, go to Next-Gen SIEM > Data ingestion > Data connectors.
  2. Click Add data connector.
  3. Find and select the HEC/HTTP Event Data Connector.
  4. In the New connection dialog, review the connector metadata and click Configure.
  5. Configure:
    • Connector name — identifier for the connection
    • Description — optional
    • Parsers — select an existing parser or create a custom one. For custom parser requirements, see the CrowdStrike Parsing Standard.
  6. Accept the Terms and Conditions and click Save.
  7. The API key and URL are displayed on the connector’s detail page after creation. Copy and store them securely.

Record your API key immediately — it displays only once during setup.

Use any data shipper that supports the HEC API. CrowdStrike recommends the Falcon LogScale Collector.

To configure the LogScale Collector with HEC:

# Example config using default listening port 514
sources:
syslog_udp_514:
type: syslog
mode: udp
port: 514
sink: ngsiem
sinks:
ngsiem:
type: hec
proxy: none
token: <API_key_generated_during_data_connector_setup>
url: <API_URL_generated_during_data_connector_setup>
  1. In the Falcon console, go to Next-Gen SIEM > Data ingestion > Data connectors.
  2. Verify the Status column shows Active.
  3. Click the connector name and select Show events to see events in Advanced Event Search.

You can also verify by filtering events using the #connector tag associated with your data connector in Advanced Event Search.

For Python developers, FalconPy provides the HEC helper class for programmatic data ingestion. The helper supports single events, event lists, and raw file imports with built-in threading for high-throughput scenarios.

from falconpy import HEC
hec = HEC(api_key=NGSIEM_API_KEY,
api_url_key=NGSIEM_URL_KEY
)
hec.send_event({"host": "sample-host", "message": "Sample event"})

For the complete API reference including all keywords, properties, and methods, see HTTP Event Collector (FalconPy Helper).