Inlets

ARGS

Parse the command line arguments that following the -- double dash. It assumes all arguments after the -- are formed as key=value paris. And it pass them to the next step as a record.

For example, if the command line arguments are tine some.toml -- --key1 value1 --key2 value2 then the record passed to the next step will be {key1="value1", key2="value2"}.

If value has prefix base64+ followed by http://, https://, or file://, then the value is base64 encoded string of the content that are fetched from the URL or file.

If value has prefix binary+ followed by http://, https://, or file://, then a BinaryField will be added instead of StringField within content that are fetched from the URL or file.

Source plugins/args

Config

[[inlets.args]]

Example

[[inlets.args]]
[[outlets.file]]
    format = "json"

Run

tine run example.toml -- hello=world test=values

Output

{"hello":"world","test":"values"}

CPU

Source plugins/psutil

Config

Example

Run

Output

DISK

Source plugins/psutil

Config

Example

Run

Output

DISKIO

Source plugins/psutil

Config

Example

Run

Output

EXEC

Execute external command and yields records for the output of stdout of the command.

Source plugins/exec

Config

Example

Output

FAKEIT

Source plugins/fakeit

Config

FILE

Source plugins/base

Config

Example

Run

Output

HOST

Source plugins/psutil

Config

Example

Run

Output

HTTP

Source plugins/http

Config

Example

Run

Output

If the http server responded in JSON {"a":1, "b":{"c":true, "d":3.14}}.

The pipeline result will be:

LOAD

Source plugins/psutil

Config

Example

Run

Output

MEM

Source plugins/psutil

Config

Example

Run

Output

NATS_VARZ

Source plugins/nats

Config

Example

Run

Output

NET

Source plugins/psutil

Config

Example

Run

Output

NETSTAT

Source plugins/psutil

Config

Example

Run

Output

SCREENSHOT

Source plugins/screenshot

Config

Example

SENSORS

Source plugins/psutil

Config

Example

Run

Output

SQLITE

Source plugins/sqlite

Config

Example

example_in.toml

example_out.toml

Run

Output

SYSLOG

Source plugins/syslog

Config

Example

Then, add *.* @<host_ip_of_tine_runs>:5514 to the source system's syslog.

Run

Output

TELEGRAM

Source plugins/telegram

Config

Example

Run

Output

Last updated