Categorygithub.com/financial-times/coco-splunk-http-forwarder
modulepackage
1.1.0-fd-timedevents-rc2
Repository: https://github.com/financial-times/coco-splunk-http-forwarder.git
Documentation: pkg.go.dev

# README

Coco Splunk Http Forwarder

Building

CGO_ENABLED=0 go build -a -installsuffix cgo -o coco-splunk-http-forwarder .

docker build -t coco/coco-splunk-http-forwarder .

Description

The Splunk forwarder is a golang application that posts a stdin to a provided URL. Docker images builds a container that forwards the journalctl logs to the Splunk endpoint

Usage ex

e.g. journalctl -f --output=json | ./coco-splunk-http-forwarder -url=$FORWARD_URL