@unilogs/unilogs-shipper
v1.0.1
Published
Easily configure and run a Vector shipper for the Unilogs log aggregation platform
Keywords
Readme
Unilogs shipper
Prerequisites
- You must have Docker running.
- You must have already deployed the Unilogs platform, because you will need the addresses of the Kafka bootstrap brokers as well as the TLS certificate in order to connect securely.
Instructions
npx @unilogs/unilogs-shipper@latest- Follow the steps in the application.
- The
service_namewill be available as a label in Grafana. - Note that the "path to logs" supports globbing. Also, the working directory
for relative paths will be wherever you are when you start creating the
shipper. (Example valid path:
./logs/*.log) - Paste in the Kafka bootstrap servers string and Kafka TLS certificate string exactly as they are given in the output of deploying the Unilogs platform.
- The
Advanced Usage
Custom transformations:
- Follow the normal instructions dictated above.
- Edit the generated
vector-shipper.yamlto your preference. - Run
npx @unilogs/unilogs-shipper@latestagain. - Choose the redeploy option.
- Check Docker to ensure your container is running. If it is, everything is OK. If not, repeat from step 2.
