mito

command
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

The mito executable is a CEL program evaluation tool that allows development of Filebeat CEL input integrations without the need to run have a running stack. Not all feature of the Filebeat input are present, but most behaviors that are needed to mimic an integration are available.

Usage of mito:

  mito [opts] <src.cel>

  -cfg string
    	path to a YAML file holding run control configuration
  -data string
    	path to a JSON object holding input (exposed as the label state)
  -insecure
    	disable TLS verification in the HTTP client
  -log_requests
    	log request traces to stderr (go1.21+)
  -max_executions int
    	maximum number of evaluations, or no maximum if -1 (default -1)
  -max_log_body int
    	maximum length of body logged in request traces (go1.21+) (default 1000)
  -use string
    	libraries to use (default "all")
  -version
    	print version and exit

The configuration accepted by mito in the configuration file is described by the Go types in the rc package, rc.Config, rc.AuthConfig and rc.OAuth2Config.

Jump to

Keyboard shortcuts

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