![]() Now, we can run the following to create a Splunk Universal forwarder on the same instance. To verify that the splunk container is up, you can run “ docker ps -a” to validate. (Alternatively, open another SSH session to the CDC VM/instance and continue the following.) Press CTRL+P and CTRL+Q to escape out of the docker interactive mode so that we can create another container on the same host. Once it is complete, you should see a message such as below: Sudo docker run -network splunk -name so1 -hostname so1 -p 8000:8000 -e "SPLUNK_PASSWORD= 123splunklabA" -e "SPLUNK_START_ARGS=-accept-license" -it splunk/splunk:latest To do so, run the following docker commands: Now, we will create the splunk server and the universal forwarder in docker. Sudo docker network create -driver bridge -attachable splunk Use the following to create a docker “bridge” network and run the following: Logout of your SSH session and re-login after running the above. Now, install docker on this VM/instance (if not already installed) SSH into your instance (VM2) and run the following: īelow are the details of the VMs used in this tutorial: 1x Ubuntu 16.04.x with Docker installed.If you are looking to configure it in production, reach out to your local partner to deploy a production ready deployment as per your requirements. ![]() You may want to get a license from Splunk if you plan to index more data. The free Splunk version also has a limit on how much data it can index. ![]() Note: This guide is intended to use in a local lab environment for testing purposes. In this section, we will talk about setting up the Splunk Free edition on Docker. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |