Docs
Search…
Vector
Send logs to SignalFlex using Vector.
Vector is a lightweight router to send logs to downstream services.

Installation

  1. 1.
    Install Vector on your platform.
    $curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | sh
  2. 2.
    In your vector.toml, add the following
Replace log_file pipeline_id, and signalflex_api_key accordingly
data_dir = "/var/lib/vector"
[sources.in]
type = "file"
include = [${log_file}]
[sinks.out]
inputs = ["in"]
type = "http"
encoding.codec = "text"
headers.pipeline = ${pipeline_id}
headers.api_key = ${signalflex_api_key}
uri = "https://alpha.signalflex.io/api/"
request.timeout_secs = 250
3. Start Vector to forward log events to SignalFlex
$vector --config vector.toml
Copy link