ingest/

directory
v0.0.0-...-cb6f7a1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2025 License: Apache-2.0

README

Event Ingest Service

This service is the primary ingress event handler for InSpec events in Chef Automate 2.0.

Event types

At this point the service is intended to handle the following event types:

  • Compliance(InSpec + metadata) report events

Design Goals

  • small memory footprint
  • fast event processing
  • flexible pipelines

Automate 1.x was using Logstash for ingest events. This services replaces Logstash as the primary event handler. Many customers complained about the memory requirements for Logstash.

Architecture

Event Pipelines

We are going to use GoRoutines and GoChannels for our pipeline implementation. The following resources explain the concepts:

Compliance Report Pipeline

Then you can test it with:

http -f POST localhost:10121/events/compliance/report < examples/compliance-success-tiny-report.json
# or
curl --data "@-" localhost:10121/events/compliance/report < examples/compliance-success-tiny-report.json

Directories

Path Synopsis
events

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL