# Zeek

Scanner supports Zeek logs, which contain information related to network security monitoring. In order for Scanner to receive Zeek log events, you need to configure a worfklow to push these logs to an S3 bucket that Scanner is linked to.

## Step 1: Publish to S3

You can follow the Zeek documentation to stream JSON log events to Fluentd. See the Zeek documentation: [JSON Streaming Logs](https://docs.zeek.org/en/master/customizations.html#json-streaming-logs).

Note that the **JSON Streaming Logs** Zeek package helpfully adds a new field `_path` to each log event that contains the type of the log event, for example `conn`, `dns`, `http`, etc. See Zeek documentation on log types here: [Zeek Logs](https://docs.zeek.org/en/master/logs/index.html).

You can follow the Fluentd documentation to configure it to receive Zeek JSON logs as input and write output logs to your S3 bucket. Make sure to configure the output format to be **JSON**. See the Fluentd documentation: [Fluentd s3 output module](https://docs.fluentd.org/output/s3).

## Step 2: Ingest via Scanner Collect

Follow the instructions [here](https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/data-ingestion/sources/custom-logs-aws-s3) to ingest logs from S3 via Scanner Collect


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/data-ingestion/sources/zeek.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
