Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Center-Sun/suricata-kafka-output

provides a Suricata Eve output for Kafka with Suricate Eve plugin
https://github.com/Center-Sun/suricata-kafka-output

intrusion-detection suricata

Last synced: about 2 months ago
JSON representation

provides a Suricata Eve output for Kafka with Suricate Eve plugin

Awesome Lists containing this project

README

        

# Suricata Eve Kafka Output Plugin for Suricata 6.0.x

This plugin provides a Suricata Eve output for Kafka. Base on suricata-redis-output: https://github.com/jasonish/suricata-redis-output/tree/6.0

## Building

```
git clone https://github.com/Center-Sun/suricata-kafka-output.git
cd suricata-kafka-output
cargo build --release
```

## Installing

As there is no standard way (yet) to install Suricata plugins we'll install the
plugin to `/usr/local/lib/suricata/plugins`.

```
mkdir -p /usr/local/lib/suricata/plugins
cp target/release/libkafka_output.so /usr/local/lib/suricata/plugins/
```

Add a section to your `suricata.yaml` that looks like:

```
plugins:
- /usr/local/lib/suricata/plugins/libkafka_output.so
```

Then set the `filetype` in your `eve` configuration section to
`kafka`.

## Configuration

Add a section to your `suricata.yaml` that looks like:

```
kafka:
brokers: "kafka1:9092,kafka2:9092"
topic: suricata
client-id: suricata_client_01
buffer-size: 1024
```