Logship Logo

Agent Development

Install Rust

You’ll need to install rust.

Windows

Windows builds also depend on an install of Microsoft C++ Build Tools.

Linux

Install rust:

curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable

Install build dependencies:

sudo apt-get upgrade &&
	sudo apt-get update && 
	sudo apt-get install -y build-essential pkg-config

Install everything:

sudo apt-get upgrade &&
	sudo apt-get update && 
	sudo apt-get install -y build-essential pkg-config &&
	(curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable)

Build Agent

Clone the agent repository at redacted. From the repository root execute:

cargo build

Run Agent

From the repository root execute:

cargo run ./path/to/configuration.json