Quantcast
Channel: Questions in topic: "universal-forwarder"
Viewing all articles
Browse latest Browse all 1551

Error installing Universal Forwarder docker image

$
0
0
I'm trying to setup the forwarder on docker (beginner to docker). I got the sample yml file from: https://hub.docker.com/r/splunk/universalforwarder/ When I try to run docker-compose up, I receive the following error: ←[31mERROR←[0m: In file '.\docker-compose.yml', service must be a mapping, not a NoneType. Can anyone help point out the error? My yml file: version: '2' services: vsplunk_uf: image: busybox volumes: - /opt/splunk/etc - /opt/splunk/var splunkuniversalforwarder: image: splunk/splunkuniversalforwarder:6.5.2-monitor hostname: splunkuniversalforwarder environment: SPLUNK_START_ARGS: --accept-license --answer-yes SPLUNK_FORWARD_SERVER: 192.168.99.1:9997 SPLUNK_USER: root restart: always volumes_from: - vsplunk_uf volumes: - /var/lib/docker/containers:/host/containers:ro - /var/run/docker.sock:/var/run/docker.sock:ro

Viewing all articles
Browse latest Browse all 1551


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>