Journald

Steps

  1. Install vector in your target environment.

curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash -s -- -y
  1. Install the nimbus configuration

    NOTE: you'll need to replace $YOUR_NIMBUS_ENDPOINT with your specific endpoint

cat << EOF > /usr/local/etc/
data_dir: /tmp/
api:
address: 0.0.0.0:8686
enabled: true
playground: false
sources:
source/journald:
    type: journald
    current_boot_only: true
sinks:
sink/nimbus:
    type: http
    encoding: 
    codec: json
    compression: gzip
    inputs:
    - source/*
    uri: $YOUR_NIMBUS_ENDPOINT
EOF
  1. Create the systemd script

  1. Execute

  1. Verify

Last updated

Was this helpful?