On This Page

Home / Search/ Get Data In/ Add Sources/Ingest Windows Events into Cribl Search

Ingest Windows Events into Cribl Search

Collect Windows Event Forwarder logs from WEF servers to store them in Cribl Search for fast analysis.


Before You Begin

On the Cribl Search side, you’ll need:

On the WEF server side, you’ll need:

You don’t need Cribl Stream, Edge, or Lake. (Looking for the Windows Event Forwarder Source in Cribl Stream instead?)

1. Add a Windows Event Forwarder Source in Cribl Search

On the Cribl.Cloud top bar, select Products > Search > Data > Add Source > Windows Event Forwarder.

Describe Your Source

Under General, configure:

SettingDescriptionExample
IDSource ID, unique across your Cribl.Cloud Workspace.

Use letters, numbers, underscores, hyphens.
wef_prod
DescriptionDescribe your Source so others know what it’s for.Ingests WEF from prod servers
AddressHostname (FQDN) that your WEF client connects to.search.main.foo-bar-abc123.cribl.cloud
PortNetwork port to listen on.

Keep the default unless it conflicts with another service.
5986 (default)

Set Up Authentication and Encryption

You can authenticate incoming connections to your Source using either client certificate or Kerberos authentication.

Client CertificateKerberos

First, set up a client certificate on the WEF server side. See Client Certificate Authentication for Windows Event Forwarder.

Then, under Authentication, select Client certificate, and configure:

SettingDescriptionExample
CertificateCertificate name.

Select a certificate, or Create a new one.
(See Cribl Stream docs.)
search.cribl.cloud
Private key pathPath to the PEM-formatted private key file on the server.

Enter the file path. Supports $ENV_VARS.
/etc/ssl/private/wef.key
PassphrasePassphrase for decrypting the private key, if encrypted.

Enter the passphrase. Use a secure secret input.
myPassphrase
Certificate pathPath to the PEM-formatted server certificate file on the server.

Enter the file path. Supports $ENV_VARS.
/etc/ssl/certs/wef.crt
CA certificate pathPath to the PEM-formatted CA certificate file on the server.

Enter the file path. Supports $ENV_VARS.

If multiple certificates are present in a .pem file, each must directly certify the one preceding it.
/etc/ssl/certs/ca.crt
Common nameRegex to validate the peer certificate’s CN or SANs.

Enter a regex pattern. If SANs are present, matching is against SANs and CN is ignored.
^worker\.cribl\.local$
Minimum TLS version /
Maximum TLS version
Minimum and maximum TLS versions to accept.

Recommended: Min 1.2, Max 1.3.
Min 1.2, Max 1.3
Verify certificate via OCSPEnable OCSP revocation checking for client certificates.Yes
Strict validationToggle that controls how OCSP errors are handled.

Enable to fail on any OCSP error. Disable to fail only on revocation errors.
Enabled

First, set up Kerberos on the WEF server side. See Kerberos Authentication for Windows Event Forwarder.

Then, under Authentication, select Kerberos, and configure:

SettingDescriptionExample
Service principal name
Service Principal Name (SPN) that identifies this service in the Kerberos realm.

Enter in the format HTTP/<fqdn>@REALM. Case-sensitive. Must match the form used to export the keytab.
HTTP/wef.cribl.local@CRIBL.LOCAL
Keytab locationPath to the keytab file containing the service principal credentials./etc/krb5.keytab (default)

2. Set Datatype Rules

Configure Datatype rules to parse, filter, and normalize your data into structured fields. We call this process Datatyping.

On the Cribl.Cloud top bar, select Products > Search > Data > Datatyping (auto). Here, you can:

See also:

3. Set Dataset Rules

Configure Dataset rules to organize the parsed events into Datasets. This also determines how long the data is kept, as each Dataset has its own retention period.

On the Cribl.Cloud top bar, select Products > Search > Data > Datasets: Organize Your Data, and see Organize Your Data for details.

4. Set Up Your WEF Client

Configure your WEF client to forward events to your Cribl Search Source.

For details, see the Cribl Stream docs: Windows Event Forwarder Source in Cribl Stream.

5. See Live Data Flow

Verify that events are successfully flowing from your Windows Event Forwarder into Cribl Search.

On the Cribl.Cloud top bar, select Products > Search > Data > Live Data.

Here, check for your Windows Event Forwarder Source. For details, see See Live Data Flow.

Next Steps

Now that your data is in Cribl Search, you can start using it. For example: