common

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Email       = "infosec@kitabisa.com"
	Development = false
	Version     = ""
	  __      __       
	 / /____ / /__ ____
	/ __/ -_) / -_) __/
	\__/\__/_/\__/_/   
	                ` + Version

	Usage = `  [buffers] | teler [options]
  teler -c [...] [options]`
	Example = `  teler -c [...] -i /var/log/nginx/access.log
  [kubectl logs|tail -f|cat] ... | teler -c [...] -x 25
  `
)

Functions

This section is empty.

Types

type Options

type Options struct {
	Concurrency int              // Set the concurrent level
	ConfigFile  string           // Specifies the config to use
	Stdin       bool             // Stdin specifies whether stdin input was given to the process
	Version     bool             // Version check of teler flag
	Input       string           // Parse log from data persistence rather than buffer stream
	Output      string           // Save detected threats to file
	OutFile     *os.File         // Write log output into file
	Configs     *parsers.Configs // Get teler configuration interface
	JSON        bool             // Display threats in the terminal as JSON format
	RmCache     bool             // To remove all cached resources on local
}

Options contains the configuration options

Jump to

Keyboard shortcuts

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