generator/

directory
v0.0.0-...-fb5a1ab Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: Apache-2.0

README

Vector Config Generator Design

This document describes the general design of translating the intention of a ClusterLogForwarder to vector config.

Overview

Historically, the internal model by which log events are processed by the collector are based upon the ViaQ data model. This was changed in order to facilitate alternate data models, specifically Otel while keeping the consistency needed to continue to support the existing feature set (e.g. prune filters).

The minimal set of attributes required to support the existing feature set are:

  • log_type
  • log_source
  • timestamp
  • message
  • level
  • kubernetes_metadata (container sources)

Logs generally flow through the collector and processed like:

  
  collect from source 
      -> move all fields to '._internal' 
          -> transform
             -> apply output datamodel (copy required fields from ._internal.* to root) 
                  -> apply sink required changes
                      -> send  

Jump to

Keyboard shortcuts

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