mhassan2 / splunk-n-box

Docker Splunk "Orchestration" bash script (6,000+ lines) to create fully automated pre-configured splunk site-2-site clusters or stand alone containers. Awesome tool for training and testing!
https://github.com/mhassan2/splunk-n-box
138 stars 32 forks source link

Universal Forwarder #14

Open compyy opened 5 years ago

compyy commented 5 years ago

Hi, great work, what if we only want to create universal forwarder container ? this image only implements full image.

macadminrohit commented 5 years ago

Did you get this solution? I am looking to create an UF container to send the data to the indexer cluster . Were you able to create one ?

macadminrohit commented 5 years ago

Finally i was able to do it:

docker run --net splunk-net --hostname=UF01 --name=UF01 -d --ip 172.18.0.9 -p 9997:9997 -e 'SPLUNK_START_ARGS=--accept-license' -e 'SPLUNK_PASSWORD=changeme' splunk/universalforwarder:latest