Hi, we just started testing/experimenting with Splunk.
Followed a Splunk4Rookies workshop but that focussed on the SPL and dashboards, not on ingesting data.
We got the docker-compose installation up and running.
I have installed a universal forwarder on a linux server and was able to send /var/log to the splunk install.
I find various post that state
* I should be using the Splunk Add-on for Unix and Linux
* it needs to be installed on the forwarder
* I should be using a deployment server instead of configuring locally on the linux server.
Looking for information on how to actually install a deployment server.
I seem to be going in circles between pages with old comments (pre 2016, https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-a-deployment-server/m-p/131...) and broken links, or page explaining why I would need a deployment server.
Questions :
Do I need to bother with deployment server at this stage ? Is it really bad if I install "Splunk Add-on for Unix and Linux" locally ? and how do I actually locally, the insatt
Can you point me to a basic step by step explanation of how I can install a deployment server ?
This is intended for a test, can we add the deployment server capability to our Splunk server created with docker compose ?
It's a tough question.
On the one hand - DS is another layer of complexity. And it's usually used when you have bigger environments and want to centralize managment of your forwarders.
On the other hand - fiddling manually with forwarders can teach you some bad practices. And - especially with standardized forwarders like the docker-based ones - it can be actually easier to manage the UFs with DS.
Anyway, DS is just a functionality of a Splunk Enterprise instance which you don't have to additionally "install". You can enable/disable it by setting
[global] disabled = <boolean> * Toggles the deployment server off and on. * Set to true to disable. * Default: false
in serverclass.conf
You can also enable it in WebUI.
Thank you for the quick responses.
@PickleRick Your answer makes it clear I should go with a deployment server.
I'm still a bit confused, if the default is disable = false, shouldn't it already be enabled ?
./system/local/serverclass.conf exists but it is empty.
@isoutamo Our instance will be long lived
What I did
disabled = false
On the linux host I want to monitor I removed pre-exisitng local config and executed
/opt/splunkforwarder/bin/splunk set deploy-poll dockerhost:8089
/opt/splunkforwarder/bin/splunk stop
/opt/splunkforwarder/bin/splunk start
Initially I saw no difference but now /splunk/en-GB/manager/launcher/agent_management?tab=forwarders show my client.
Thank you
Thank you for the quick and clear response. I'll try to activate the DS.
It's a tough question.
On the one hand - DS is another layer of complexity. And it's usually used when you have bigger environments and want to centralize managment of your forwarders.
On the other hand - fiddling manually with forwarders can teach you some bad practices. And - especially with standardized forwarders like the docker-based ones - it can be actually easier to manage the UFs with DS.
Anyway, DS is just a functionality of a Splunk Enterprise instance which you don't have to additionally "install". You can enable/disable it by setting
[global] disabled = <boolean> * Toggles the deployment server off and on. * Set to true to disable. * Default: false
in serverclass.conf
You can also enable it in WebUI.