Skip to content

Data sources

A data source brings events into DRACO: it is the Logs part of a connector. Add one with Connectors > Add connector: pick the vendor (or the generic HTTP push, HTTP pull and Edge collector) and tick Logs under Collectors. For a vendor you already connected, open its connector and click Add a part: two accounts of one vendor are two connectors, and each source belongs to one of them. Connectors filtered by What it does > Logs lists them. The wizard picks the type, the sign-in (credential or the account's own), the parser and the retention.

Test before create: for pull sources the wizard reads a sample from the vendor and shows the parsed events (or the vendor's error) before anything is stored; the source is saved only after a passing test with the same settings (Test the connection, then Save the connection). A credential created in the wizard is deleted again if you leave before the source exists. Push sources (HTTP push, webhooks, Logpush, the collector) have nothing to reach yet: they are created at once and show their endpoint and token. When you edit a pull source, Test reads a sample with the changed settings before you save them. When the vendor refuses only part of the scope (a subscription, project, zone, app or content type), the test still passes and names what was refused and the permission it needs; the source can be created, and runs skip that part until the permission is granted.

Reading needs Read in the Data sources & parsers area; adding and changing sources needs Read-Write. A source whose URL you type (generic HTTP pull, Elastic Security, Wazuh, Splunk) sends its credential only to hosts approved for that credential: binding a credential to a new host, or changing the host while a credential is bound, also needs Read-Write in Credentials (existing sources keep working).

Types

There are three families:

  • Cloud and SaaS sources on a provider: DRACO pulls the vendor's audit log with the credentials of a provider you already connected. Nothing is copied: rotating the provider's credentials rotates the source's. Cloudflare audit logs and security events, the GitHub audit log and Fly.io logs can instead use a picked token or api_key credential (a token with other permissions than the provider's); the wizard's Credential step defaults to "Use the provider's credentials", and lists the compatible credentials with their type, hint and last use.
  • HTTP push (http_push): your systems send events to DRACO's ingest endpoint with a source token.
  • Generic HTTP pull (generic_http_pull): DRACO polls a JSON API (an https:// URL, headers, bearer or basic authentication from a credential, cursor or next-link paging, a time window). A token or API key goes in Authorization: Bearer <secret> by default; set Credential header (for example X-API-Key) for APIs that expect it elsewhere, and Header prefix when the value needs one other than Bearer.
  • Edge collector (vector_push): a Vector agent on your network receives syslog, OTLP, log files, journald and Windows events and forwards them (see Edge collector).

Pull sources run every poll interval minutes, never twice at a time, and switch to error after three failed runs in a row. A 401 or 403 from the vendor becomes a last error that names the missing permission.

Cloud and SaaS sources

Type Collects The provider's credentials need
AWS CloudTrail Mode lookup events: management events of the last 90 days per region, no trail needed. Mode S3: the trail's files, every region and data events cloudtrail:LookupEvents; or s3:ListBucket, s3:GetObject (and kms:Decrypt for SSE-KMS buckets)
Cloudflare audit logs Who changed DNS, WAF, settings, members and tokens Account > Account Settings > Read
Cloudflare security events WAF, rate limiting, bot and firewall rule hits per zone Zone > Zone > Read and Zone > Analytics > Read
Cloudflare Logpush (push) Every HTTP request of a zone An Enterprise zone and a token with Zone > Logs > Edit for the Logpush job
Okta System Log Sign-ins, user, MFA, group and privilege changes The provider's API services app granted okta.logs.read; or, without a provider, an API token of a Read-only Administrator
GitHub audit log Membership, teams, repository visibility, branch protection, tokens, apps GitHub Enterprise Cloud; a classic token with read:audit_log or the organization Administration read permission
GitHub webhook (push) Push, member, repository, team, pull request, release, branch protection, secret and code scanning and Dependabot alert events Any plan; creating the webhook needs admin:org_hook (or repository admin)
Microsoft 365 Management Activity Entra ID, Exchange, SharePoint, general audit and DLP events The provider's app registration with the Office 365 Management APIs permission ActivityFeed.Read (and ActivityFeed.ReadDlp), admin consent, unified audit logging on
Azure Activity Log Control-plane operations of the subscription (and extra subscriptions) Reader (Microsoft.Insights/eventtypes/values/read) on each subscription
Google Cloud audit logs Admin Activity, System Event and Policy logs (Data Access optional) of the project and extra projects Logs Viewer (roles/logging.viewer); Private Logs Viewer for Data Access logs
Fly.io logs Application, runner and proxy logs of every app of the organization The provider's read-only organization token
Databricks audit logs Sign-ins, tokens, permissions and grants, secrets, downloads and settings of every workspace of the account in the region (system.access.audit); see Databricks audit logs No provider: a service principal's OAuth secret (or a personal access token) with CAN USE on a SQL warehouse and SELECT on system.access.audit. Each poll runs a query billed to you
Google Workspace audit logs Sign-ins, admin console changes, Drive sharing, OAuth app grants, SAML, user accounts, groups, devices and DLP rules (Admin SDK Reports API); see Google Workspace audit logs A Google Workspace provider, or a service account key (Generic JSON credential) and an administrator to impersonate; domain-wide delegation of https://www.googleapis.com/auth/admin.reports.audit.readonly, and the administrator needs the Reports privilege
Slack audit logs Sign-ins, roles, sessions, apps and scopes, Slack Connect, files, exports and security settings of the organization; see Slack audit logs No provider: Enterprise Grid only; the user token (xoxp-) of an app with auditlogs:read installed on the organization by an Org Owner
1Password Events Sign-in attempts, item usages (reveal, copy, export) and audit events (vault access, groups, MFA); see 1Password Events No provider: 1Password Business; an Events Reporting bearer token with sign-in attempts, item usage actions and audit events
CrowdStrike Falcon Alerts (Alerts API v2) and optionally Falcon cases, with the Falcon console link; see CrowdStrike Falcon No provider: an API client (OAuth client credential) with Alerts: Read (and Cases: Read for cases)
SentinelOne Threats and the activity audit trail, with the console link; see SentinelOne No provider: the API token of a service user with the Viewer role
Sophos Central Alerts and endpoint events (SIEM Integration API, the last 24 hours, then continuously); see Sophos Central No provider: a Sophos Central API credential (OAuth client credential) with the Service Principal Read-Only role; the region is found by itself
Imperva Cloud WAF Access and security logs of your sites (SIEM logs, CEF), read from Imperva's log server; see Imperva Cloud WAF No provider: the Log Integration (SIEM logs) add-on and a log connection of type Imperva API with the Cloud WAF log type; its API ID and key (Basic credential) and Log Server URL
Microsoft Defender XDR Alerts (alerts_v2) and incidents of every Defender product, with the portal link; see Microsoft Defender XDR The M365 provider's app registration with the Graph application permissions SecurityAlert.Read.All and SecurityIncident.Read.All, admin consent
Splunk (Enterprise Security notables, or alerts) ES notable events (index=notable), or without ES the fired alerts or a saved search's rows, with links to Incident Review or the search; optionally raw events of a search (off by default, capped per run); see Splunk No provider: a Splunk authentication token (Token credential) of a user whose role has search and the notable index; Splunk Cloud: DRACO's address on the REST API allow list
Elastic Security Detection alerts (Elastic Cloud or self-managed), with the Kibana link, and optionally raw ECS logs of an index pattern; see Elastic Security No provider: an Elasticsearch API key (or user) with read and view_index_metadata on .alerts-security.alerts-*
Wazuh Alerts of Wazuh 4.x from the Wazuh indexer, agent names from the manager API, optionally archived events; see Wazuh No provider: an indexer user with read on wazuh-alerts-4.x-* (and a manager API user with agents_readonly)

Notes per vendor

  • IDs resolved (Readable IDs): Cloudflare audit logs: user ID → e-mail, account ID → account name (when the entry carries it), zone ID → zone name; Cloudflare security events: zone ID → zone name; Fly.io logs: machine ID → app and region, app ID → app name; AWS CloudTrail: access key ID → the user or role session using it, principal ID → user name or role session, role ID → role name.
    • Azure Activity Log: caller object ID (token claims) → UPN; resource ID → resource name (web-nsg/allow-ssh) with its type, group and subscription. The log carries no subscription or tenant name.
    • GCP audit logs: service account unique ID → e-mail, service account key ID → the account using it, Compute instance, disk, network and firewall rule IDs → name. Entries carry no project number.
    • Microsoft 365: user key (PUID or Entra object ID) → UPN; Entra object IDs of the actor and target → UPN.
    • Okta System Log: user ID → login; app instance, group, token and policy IDs → display name.
    • GitHub audit log: actor and user IDs → login, repository ID → owner/name, organization ID → login. GitHub webhook: the same from sender, member, owner, repository and organization (numeric and node IDs), enterprise ID → slug.
    • Cloudflare Logpush: zone ID → zone name when the job exports ZoneID (rule and ray IDs carry no name).
    • Google Workspace, Slack, 1Password, Databricks and Kubernetes audit logs: see each source's page.

Kubernetes and firewalls (push)

  • Kubernetes audit logs (kubernetes_audit): the API server's audit webhook posts to the ingest endpoint with the source token; EKS and AKS through the edge collector. See Kubernetes audit logs.
  • FortiGate, Palo Alto Networks, Check Point and CEF / LEEF firewall syslog through the edge collector, TLS on port 6514 where the device supports it. See Firewall syslog.

The wizard shows What to do in for every type: the steps in the vendor's console (API client, role, scopes, device settings), the commands and policies with a copy button, and links to the vendor's documentation and to this page. The steps of the types without their own page are below.

Setup steps per type

The same steps as the wizard's What to do in are on each vendor's page under Connectors: Amazon Web Services, Microsoft Azure, Google Cloud, Cloudflare, Okta, GitHub, Microsoft 365, Fly.io, Kubernetes, Google Workspace, Slack, 1Password, Databricks, CrowdStrike Falcon, SentinelOne, Microsoft Defender XDR, Elastic Security, Splunk, Wazuh and the firewalls. The generic types are below.

Generic HTTP pull

  1. Create a read-only API key or service account in the system, limited to the polled endpoint, with an expiry where possible.
  2. Save it as a token, api_key or basic credential, enter the https:// URL, records path, paging and time window, and test.

How the source reads the API:

  • Overlap (minutes) (default 5): with a time window (Start time parameter), each run starts this much before the end of the last window, so records the API indexes late are still read. Records already read are skipped, never stored twice.
  • Record id path (default id): where a record's unique id is, used to skip the records read again in the overlap. Records without an id are told apart by their content.
  • Records per response (API cap): without paging, the most records the API returns at once. A response that reaches it (or a usual cap such as 100, 500 or 1000) shows a warning on the source: records past it may be missing. Set up paging or a shorter poll interval.
  • Cursor paging needs both Cursor path (where the next cursor is in the response) and Cursor parameter (the query parameter that sends it back); a source with only the path is refused.
  • If the API refuses the stored next page (an expired cursor or link), the run reads the time window again from its start and shows a warning; records already read are skipped.

HTTP push

Each push source has one or more source tokens (xs_<prefix>.<secret>), shown once when created; several tokens allow rotation without a gap. Send events to:

printf '{"msg":"login ok","user":"alice"}\nnot json\n' |
  curl -X POST "https://draco.example.com/api/v1/xdr/ingest" \
    -H "Authorization: Bearer $XDR_TOKEN" \
    -H "Content-Type: application/x-ndjson" --data-binary @-
# 202 {"accepted":2,"failed":0,"parse_failed":1}
  • Put the token in Authorization: Bearer <token> (or X-DRACO-Source-Token for shippers that cannot set Authorization), never in the URL.
  • Bodies: application/x-ndjson, application/json (an array, an object or NDJSON) or text/plain (one event per line), optionally gzip.
  • Answers: 202 with counts; 401 unknown or revoked token; 403 paused source; 413 body above 10 MB; 429 above 600 requests per minute per token, when a log limit blocks ingest, or when the batch is over the source's ingest policy with hold (nothing is stored; Retry-After says when to retry).
  • Events above 256 KB are refused (failed). A line the parser cannot read is stored with parse_status = failed and listed on the source page, never dropped.

The ingest endpoint must be reachable from the senders over HTTPS.

Edge collector

The collector is a Vector profile a client runs on its own network with Docker Compose. It receives:

  • syslog on UDP/TCP 514 (RFC 3164 and 5424),
  • syslog over TLS on TCP 6514 (RFC 5425), for firewalls and appliances,
  • OTLP logs on 4317 (gRPC) and 4318 (HTTP),
  • log files from a mounted directory (/var/log/draco),
  • journald, when Vector runs as a package on a systemd host instead of in Docker (uncomment the journald source in vector.yaml and add it to the sink's inputs),
  • Windows events through an NXLog or Winlogbeat sidecar forwarding syslog,

buffers up to 1 GiB on disk and sends gzip NDJSON batches to DRACO with the source token. HTTP push, collector and firewall sources have a Deploy a collector tab with the files to download, the token filled in.

Set up the collector

  1. In DRACO, open the source and its Deploy a collector tab.
  2. On a Linux host with Docker that your devices can reach, create a folder, for example draco-collector.
  3. Save every file of the tab into that folder, under the name the tab shows.
  4. In the folder, run chmod 600 draco-secrets.json.
  5. Copy the second command of the tab, replace <collector address> with the name or IP address your devices use to reach this host (several, separated by spaces, are allowed), and run it. It creates the collector's certificate for syslog over TLS and prints two fingerprints.
  6. Run docker compose -f docker-compose.collector.yml up -d.
  7. Run curl -s http://127.0.0.1:8686/health. It answers {"ok":true}.
  8. Run the last two commands of the tab: they send one test line over plain syslog and one over TLS.
  9. Within a minute both lines appear in Search for this source.

Syslog over TLS (port 6514)

The collector has its own small certificate authority. Devices that send over TLS must trust it.

  1. Copy tls/ca.crt from the collector folder to the computer you manage the device from.
  2. Import it on the device as a trusted CA certificate:

    Device Where
    FortiGate System > Certificates > Create/Import > CA Certificate > File (Fortinet FortiGate)
    PAN-OS Device > Certificate Management > Certificates > Import, then tick Trusted Root CA (Palo Alto Networks)
    Check Point Log Exporter the ca-cert file of cp_log_export (Check Point)
    Other appliances, rsyslog, syslog-ng, NXLog their trusted CA file setting
  3. Compare the certificate's SHA-256 fingerprint on the device with the CA certificate fingerprint the collector printed. Run docker compose -f docker-compose.collector.yml logs tls to see it again.

  4. Point the device at the collector's address, port 6514, TCP with TLS.

Devices that pin a server certificate instead of a CA use the Listener certificate fingerprint from the same output.

To use a certificate from your own certificate authority instead, put collector.crt and collector.key into the tls folder before the first start, and import your CA on the devices.

The listener's certificate is renewed by itself 30 days before it expires, from the same certificate authority, so the devices keep trusting it. After a renewal, run docker compose -f docker-compose.collector.yml up -d again. A device that pinned the listener certificate needs the new fingerprint.

Plain syslog on port 514 has no encryption: use it on your internal network only.

DRACO with its own certificate

A DRACO server reached by its IP address has a certificate from its own certificate authority, not from a public one. The collector then checks DRACO with that authority's root certificate and refuses any other server. It never turns the check off.

When the tab shows DRACO's certificate:

  1. The file draco-ca.pem is already in the tab's files.
  2. On the collector host, run openssl x509 -in draco-ca.pem -noout -fingerprint -sha256.
  3. Check that the fingerprint matches the one the tab shows.
  4. Start the collector as above.

When the tab says Paste DRACO's certificate into draco-ca.pem:

  1. Ask your DRACO administrator for DRACO's root certificate, or open DRACO in your browser, view the site's certificate and export the top certificate of the chain as PEM (Base64).
  2. Open draco-ca.pem in the collector folder and replace its text with that certificate, from -----BEGIN CERTIFICATE----- to -----END CERTIFICATE-----.
  3. Start the collector. Until the file holds the certificate, the collector does not start.

Parse at the edge or in DRACO: forward raw lines (the default) while volumes are modest; DRACO parses them and a parser fix applies at once. When a source sends tens of thousands of events per second, compile the parser to VRL (the Parsers editor's VRL tab) and let the collector parse.

Sensitive data

Emails, card data, tokens and other sensitive values are found and masked before events are stored; the source page shows what the source logs and its protection policy. See Sensitive data in logs.

Ingest policies

Each source can have an ingest policy: a number of events per minute and what happens above it, hold the excess until the next minute (the default), drop it or pause the source (which also notifies the on_storage notification rules). The card is on the source page. With hold nothing is lost: a pull source stores what fits and reads the rest again on its next run, a push batch that does not fit is answered 429 with Retry-After and the collector sends it again (a batch larger than the whole minute's limit, and GitHub webhook deliveries, which GitHub does not resend, are cut as with drop); the source page shows a note while events wait. With drop and pause the events above the limit are not stored: a pull source moves on past them and does not read them again. The source page shows how many the last run cut and the total over the last 24 hours.

Source page

A source's page shows its status, last run, last error, events in the last 24 hours and 7 days, the lines that failed to parse, its tokens, its ingest policy, its resource hint, the log encryption key of the sources that decrypt their files (Imperva Cloud WAF) and Suggest detections (opens the AI rule proposals wizard with the source preselected).

Resource hint

Alerts link to the inventory resources their events name (host, app name, resource id; see Resources). For a source whose events carry none of them, the Resource hint card of the source page names the resource:

  • a fixed resource: every alert of the source is about it (an nginx in front of one app);
  • host rules: a host pattern (*.shop.example.com, api-*) and the resource the matching hosts belong to.

Hinted links show as "Source hint" (confidence 95 %) and apply to new alerts and, after the next scan, to open incidents. Changing it needs read-write access to data sources.

Visibility

A source attached to a provider is visible only to roles that see the provider; its events too. Sources without a provider are visible to every member. Search, rule tests, threat hunts and AI analyst runs that a member starts read only the sources that member can see; scheduled detection rules and scheduled hunts read every source of the organization.