The Drillo agent
Tail files and receive syslog with the bundled agent.
Verified against v1.0.0-rc.1 · sources
The agent reads local files and syslog and forwards them to the gate. Install it with install-agent.sh.
Flags#
| Flag | Meaning |
|---|---|
--gate <addr> | Gate address. Required. |
--state-dir <dir> | Where the agent keeps its position state. |
--host <name> | Host name to report. |
--stream <name> | Stream name. |
--tail <path> | Tail a file. Repeatable. |
--syslog-udp <addr> | Receive syslog over UDP. Repeatable. |
--syslog-tcp <addr> | Receive syslog over TCP. Repeatable. |
--syslog-tls <addr> | Receive syslog over TLS. Needs --tls-cert and --tls-key. |
--start-at end | Start at the end of existing files. |
--poll-ms <n> | File poll interval in milliseconds. |
The agent token is read from DRILLO_AGENT_TOKEN (set by the installer in /etc/drillo/agent.env).