{"id":30451,"date":"2026-12-05T22:05:24","date_gmt":"2026-12-05T22:05:24","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=30451"},"modified":"2026-12-05T22:05:24","modified_gmt":"2026-12-05T22:05:24","slug":"splunk-tutorials-deployment-server","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/splunk-tutorials-deployment-server\/","title":{"rendered":"Splunk Tutorials: App Deployment Server"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A Splunk deployment server keeps apps such as inputs.conf and outputs.conf in one central place and pushes them to universal forwarders, which check in regularly as deployment clients. This page covers the deployment server, server class and deployment client setup from the notes above, fixes the errors in that configuration, and shows how to confirm that the app reached the forwarder and that its data is getting indexed.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">======Deployment Server=============\nCreate an App <span class=\"hljs-string\">\"testapp\"<\/span> under \/home\/ubuntu\/splunk\/etc\/deployment-apps\nCreate a dir local &amp; under local dir\n\ninputs.conf\n-------------------\n&#91;monitor:<span class=\"hljs-comment\">\/\/home\/ubuntu\/splaunkforwarder\/var\/log\/splunk\/splunkd.log]<\/span>\nindex=web\nsourcetype=splunkdlog\n\noutputs.conf\n---------------\n&#91;tcpout]\ndefaultGroup = splunkindexer\ndisabled = <span class=\"hljs-literal\">false<\/span>\ncompress = <span class=\"hljs-literal\">true<\/span>\n\n&#91;tcpout:splunkindexer]\nserver = <span class=\"hljs-number\">172.31<\/span><span class=\"hljs-number\">.4<\/span><span class=\"hljs-number\">.56<\/span><span class=\"hljs-number\">.9997<\/span>\n\n\/home\/ubuntu\/splunk\/etc\/system\/local\/serverclass.conf\n&#91;global]\n\n&#91;serverClass:NewApps]\n&#91;serverClass:NewApps:app:test:testapp]\n\n======Deployment Client=============\n<span class=\"hljs-regexp\">\/home\/u<\/span>buntu\/splunk\/etc\/system\/local\/\n\n&#91;deployment-client]\n\n&#91;target-broker:deploymentServer]\ntargeturi=<span class=\"hljs-number\">172.31<\/span><span class=\"hljs-number\">.12<\/span><span class=\"hljs-number\">.3<\/span>:<span class=\"hljs-number\">8089<\/span>\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">CONFIGURE APP DEPLOYEMENT SERVER\r\n=======================================================\r\n\r\nIn the forwarders machines\r\n==================================\r\n<span class=\"hljs-keyword\">Do<\/span> you find any file named with <span class=\"hljs-string\">\"deploymentclient.conf\"<\/span> in \/opt\/splunkforwarder\/etc\/system\/local\r\n&gt; .\/splunk set deploy-poll &lt;IP_address\/hostname&gt;:&lt;management_port&gt;\r\n<span class=\"hljs-comment\"># 8089<\/span>\r\n&gt; splunk restart\r\n\r\nOBSERRVATIONS:\r\nCheck \r\n\/opt\/splunkforwarder\/etc\/system\/local\r\ndeploymentclient.conf\r\n\r\nWNDOWS\r\ntargetUri = <span class=\"hljs-number\">13.126<\/span><span class=\"hljs-number\">.48<\/span><span class=\"hljs-number\">.167<\/span>:<span class=\"hljs-number\">8089<\/span>\r\n\r\n\r\n\r\nConfigure deployment clients\r\nhttp:<span class=\"hljs-comment\">\/\/docs.splunk.com\/Documentation\/Splunk\/6.6.3\/Updating\/Configuredeploymentclients<\/span>\r\nhttps:<span class=\"hljs-comment\">\/\/docs.splunk.com\/Documentation\/Splunk\/6.6.2\/Admin\/Deploymentclientconf<\/span>\r\n\r\n\r\n======Deployment Server=============\r\nCreate an App <span class=\"hljs-string\">\"testapp\"<\/span> under \/home\/ubuntu\/splunk\/etc\/deployment-apps\r\n\r\nCreate a dir local &amp; under local dir\r\n\r\ninputs.conf\r\n-------------------\r\n&#91;monitor:<span class=\"hljs-comment\">\/\/home\/ubuntu\/splaunkforwarder\/var\/log\/splunk\/splunkd.log]<\/span>\r\nindex=web\r\nsourcetype=splunkdlog\r\n\r\n\r\noutputs.conf\r\n---------------\r\n&#91;tcpout]\r\ndefaultGroup = splunkindexer\r\ndisabled = <span class=\"hljs-keyword\">false<\/span>\r\ncompress = <span class=\"hljs-keyword\">true<\/span>\r\n\r\n&#91;tcpout:splunkindexer]\r\nserver = <span class=\"hljs-number\">172.31<\/span><span class=\"hljs-number\">.4<\/span><span class=\"hljs-number\">.56<\/span><span class=\"hljs-number\">.9997<\/span>\r\n\r\n\/home\/ubuntu\/splunk\/etc\/system\/local\/serverclass.conf\r\n&#91;<span class=\"hljs-keyword\">global<\/span>]\r\n\r\n&#91;serverClass:NewApps]\r\n&#91;serverClass:NewApps:app:test:testapp]\r\n\r\n======Deployment Client=============\r\n\/home\/ubuntu\/splunk\/etc\/system\/local\/\r\n\r\n&#91;deployment-client]\r\n\r\n&#91;target-broker:deploymentServer]\r\ntargeturi=<span class=\"hljs-number\">172.31<\/span><span class=\"hljs-number\">.12<\/span><span class=\"hljs-number\">.3<\/span>:<span class=\"hljs-number\">8089<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">How the deployment server fits together<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Three roles are involved. The <strong>deployment server<\/strong> (a full Splunk Enterprise instance) stores apps under <code>$SPLUNK_HOME\/etc\/deployment-apps<\/code>. The <strong>deployment clients<\/strong> (normally universal forwarders) poll the server on its management port, 8089 by default, and download whatever apps their server class gives them. The <strong>indexer<\/strong> receives the data that those apps tell the forwarder to collect, normally on port 9997.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Role<\/th><th>File<\/th><th>Location<\/th><\/tr><\/thead><tbody><tr><td>Deployment server<\/td><td>App content (inputs.conf, outputs.conf)<\/td><td><code>$SPLUNK_HOME\/etc\/deployment-apps\/&lt;app&gt;\/local\/<\/code><\/td><\/tr><tr><td>Deployment server<\/td><td>serverclass.conf (which clients get which apps)<\/td><td><code>$SPLUNK_HOME\/etc\/system\/local\/serverclass.conf<\/code><\/td><\/tr><tr><td>Forwarder (Linux)<\/td><td>deploymentclient.conf<\/td><td><code>\/opt\/splunkforwarder\/etc\/system\/local\/deploymentclient.conf<\/code><\/td><\/tr><tr><td>Forwarder (Windows)<\/td><td>deploymentclient.conf<\/td><td><code>C:\\Program Files\\SplunkUniversalForwarder\\etc\\system\\local\\deploymentclient.conf<\/code><\/td><\/tr><tr><td>Indexer<\/td><td>Receiving port and target index<\/td><td><code>splunk enable listen 9997<\/code>, index created in the UI or indexes.conf<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> Network requirements: forwarders must be able to reach the deployment server on TCP 8089 and the indexer on TCP 9997. In AWS, open both ports in the relevant security groups.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Corrected configuration for the example above<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Several lines in the example above will fail silently or get rejected by Splunk. Below is the corrected set of files, using the same IP addresses. In the original, the deployment server lives at <code>\/home\/ubuntu\/splunk<\/code>. The forwarder is assumed to be at its default path, <code>\/opt\/splunkforwarder<\/code>.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># Deployment server: \/home\/ubuntu\/splunk\/etc\/deployment-apps\/testapp\/local\/inputs.conf<\/span>\n&#91;monitor:<span class=\"hljs-comment\">\/\/\/opt\/splunkforwarder\/var\/log\/splunk\/splunkd.log]<\/span>\nindex = web\nsourcetype = splunkdlog\ndisabled = <span class=\"hljs-keyword\">false<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># Deployment server: \/home\/ubuntu\/splunk\/etc\/deployment-apps\/testapp\/local\/outputs.conf<\/span>\n&#91;tcpout]\ndefaultGroup = splunkindexer\n\n&#91;tcpout:splunkindexer]\nserver = <span class=\"hljs-number\">172.31<\/span><span class=\"hljs-number\">.4<\/span><span class=\"hljs-number\">.56<\/span>:<span class=\"hljs-number\">9997<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># Deployment server: \/home\/ubuntu\/splunk\/etc\/system\/local\/serverclass.conf<\/span>\n&#91;<span class=\"hljs-keyword\">global<\/span>]\n\n&#91;serverClass:NewApps]\n<span class=\"hljs-comment\"># Which clients belong to this class (IP, hostname or clientName; wildcards allowed)<\/span>\nwhitelist<span class=\"hljs-number\">.0<\/span> = <span class=\"hljs-number\">172.31<\/span>.*\n\n&#91;serverClass:NewApps:app:testapp]\nrestartSplunkd = <span class=\"hljs-keyword\">true<\/span>\nstateOnClient = enabled<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># Forwarder: \/opt\/splunkforwarder\/etc\/system\/local\/deploymentclient.conf<\/span>\n&#91;deployment-client]\n\n&#91;target-broker:deploymentServer]\ntargetUri = <span class=\"hljs-number\">172.31<\/span><span class=\"hljs-number\">.12<\/span><span class=\"hljs-number\">.3<\/span>:<span class=\"hljs-number\">8089<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Monitor stanza:<\/strong> a monitor path needs three slashes (<code>monitor:\/\/<\/code> followed by an absolute path that starts with <code>\/<\/code>). The original also had the typo <code>splaunkforwarder<\/code>, so the path did not exist.<\/li>\n\n\n<li><strong>outputs.conf:<\/strong> <code>172.31.4.56.9997<\/code> is not a valid host:port. The port must follow a colon: <code>172.31.4.56:9997<\/code>. The <code>disabled<\/code> and <code>compress<\/code> lines are optional. If you enable <code>compress = true<\/code>, the receiving input on the indexer needs the same setting, otherwise the connection fails.<\/li>\n\n\n<li><strong>serverclass.conf:<\/strong> the app stanza format is <code>[serverClass:&lt;class&gt;:app:&lt;app&gt;]<\/code>. The original <code>[serverClass:NewApps:app:test:testapp]<\/code> has an extra segment. The original also had no <code>whitelist<\/code>, so no client ever matched the class and nothing was deployed.<\/li>\n\n\n<li><strong>restartSplunkd = true:<\/strong> a forwarder only starts using new inputs and outputs after it restarts, so this setting tells it to restart once the app arrives.<\/li>\n\n\n<li><strong>deploymentclient.conf:<\/strong> this file goes on the forwarder, not in the deployment server&#039;s <code>\/home\/ubuntu\/splunk<\/code> tree. The setting is <code>targetUri<\/code>, and Splunk setting names are case-sensitive.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Step-by-step lab<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>On the indexer, turn on receiving and create the <code>web<\/code> index: <code>\/opt\/splunk\/bin\/splunk enable listen 9997 -auth admin:&lt;password&gt;<\/code>, then create the index under <strong>Settings &gt; Indexes<\/strong>. Splunk drops events sent to an index that does not exist and logs a warning.<\/li>\n\n\n<li>On the deployment server, create the app: <code>mkdir -p \/home\/ubuntu\/splunk\/etc\/deployment-apps\/testapp\/local<\/code>, then add the inputs.conf and outputs.conf shown above.<\/li>\n\n\n<li>Create <code>\/home\/ubuntu\/splunk\/etc\/system\/local\/serverclass.conf<\/code> using the content above.<\/li>\n\n\n<li>Load the server classes: <code>\/home\/ubuntu\/splunk\/bin\/splunk reload deploy-server -auth admin:&lt;password&gt;<\/code>. Run this every time you change an app or serverclass.conf.<\/li>\n\n\n<li>On each forwarder, point it at the deployment server. Either write deploymentclient.conf by hand or run the CLI command shown below.<\/li>\n\n\n<li>Restart the forwarder: <code>\/opt\/splunkforwarder\/bin\/splunk restart<\/code>. Within about a minute it phones home, downloads <code>testapp<\/code> and restarts itself because <code>restartSplunkd = true<\/code> is set.<\/li>\n<\/ol>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-7\" data-shcb-language-name=\"HTML, XML\" data-shcb-language-slug=\"xml\"><span><code class=\"hljs language-xml\">cd \/opt\/splunkforwarder\/bin\nsudo .\/splunk set deploy-poll 172.31.12.3:8089 -auth admin:<span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">forwarder_password<\/span>&gt;<\/span>\nsudo .\/splunk restart<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-7\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">HTML, XML<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">xml<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\"><code>set deploy-poll<\/code> writes the <code>[target-broker:deploymentServer]<\/code> stanza with <code>targetUri<\/code> into <code>etc\/system\/local\/deploymentclient.conf<\/code>. That is why the observations above say to check that file. On Windows, run <code>splunk.exe set deploy-poll 13.126.48.167:8089<\/code> from <code>C:\\Program Files\\SplunkUniversalForwarder\\bin<\/code> in an elevated prompt, then <code>splunk.exe restart<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Verify the deployment<\/h2>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-8\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># On the forwarder: confirm the configured deployment server<\/span>\n\/opt\/splunkforwarder\/bin\/splunk show deploy-poll\n\n<span class=\"hljs-comment\"># On the forwarder: confirm the app arrived<\/span>\nls \/opt\/splunkforwarder\/etc\/apps\/testapp\/local\n\n<span class=\"hljs-comment\"># On the forwarder: confirm the forwarding target is active<\/span>\n\/opt\/splunkforwarder\/bin\/splunk <span class=\"hljs-keyword\">list<\/span> forward-server\n\n<span class=\"hljs-comment\"># On the deployment server: list clients that have phoned home<\/span>\n\/home\/ubuntu\/splunk\/bin\/splunk <span class=\"hljs-keyword\">list<\/span> deploy-clients -auth admin:&lt;password&gt;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-8\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">In Splunk Web on the deployment server, <strong>Settings &gt; Forwarder Management<\/strong> lists each client, its server classes and the apps it has received. Once the forwarder restarts, run a search on the indexer or search head:<\/p>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">index=web sourcetype=splunkdlog | head 10<\/code><\/span><\/pre>\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> A forwarder already sends its own splunkd.log to the <code>_internal<\/code> index by default. Monitoring that file again into <code>web<\/code> works fine for a lab, but in production, deploy inputs for real application logs instead.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Symptom<\/th><th>Likely cause<\/th><th>Fix<\/th><\/tr><\/thead><tbody><tr><td>Client never shows in Forwarder Management<\/td><td>Port 8089 blocked, wrong <code>targetUri<\/code>, or forwarder not restarted<\/td><td>Run <code>curl -k https:\/\/172.31.12.3:8089<\/code> from the forwarder, check the security group, restart the forwarder<\/td><\/tr><tr><td>Client shows up but has no apps<\/td><td>The whitelist does not match the client, or the server was not reloaded<\/td><td>Fix <code>whitelist.0<\/code>, then run <code>splunk reload deploy-server<\/code><\/td><\/tr><tr><td>App present on client but no data<\/td><td>Bad monitor path, missing <code>web<\/code> index, or receiving not enabled on 9997<\/td><td>Check <code>splunk list monitor<\/code> on the forwarder and <code>index=_internal source=*splunkd.log* ERROR<\/code> on the indexer<\/td><\/tr><tr><td>Forwarder logs TcpOutputProc connection errors<\/td><td>Bad server value in outputs.conf, or a compression mismatch<\/td><td>Use <code>host:port<\/code> format and make the <code>compress<\/code> setting match on both sides<\/td><\/tr><tr><td>Local edits on the client disappear<\/td><td>The deployment server overwrites deployed apps on each sync<\/td><td>Change the app in <code>deployment-apps<\/code> on the server only<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">On the forwarder, the most useful log is <code>\/opt\/splunkforwarder\/var\/log\/splunk\/splunkd.log<\/code>. Search it for <code>DeploymentClient<\/code>, <code>DC:<\/code> and <code>TcpOutputProc<\/code> messages.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Best practices and security notes<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Group clients into server classes by role or OS (for example <code>linux_web<\/code>, <code>windows_dc<\/code>) rather than putting everything into one class with a <code>*<\/code> whitelist. Use <code>machineTypesFilter<\/code> (for example <code>linux-x86_64<\/code>) so Windows inputs never reach Linux hosts.<\/li>\n\n\n<li>Split outputs and inputs into separate apps, such as <code>org_all_forwarder_outputs<\/code> and <code>org_web_inputs<\/code>. That way you can change the indexer address once for every forwarder.<\/li>\n\n\n<li>Never edit deployed apps directly on clients. Keep <code>deployment-apps<\/code> under version control and reload after each change.<\/li>\n\n\n<li>Change the default admin password on forwarders. Restrict port 8089 on the deployment server to forwarder subnets only.<\/li>\n\n\n<li>Do not make the deployment server a client of itself. A deployment server should not push apps to indexer clusters or search head clusters either, because those use the cluster manager and the deployer.<\/li>\n\n\n<li>The Splunk 6.6 documentation links in the original are outdated. Use the current Splunk Enterprise documentation on updating Splunk Enterprise instances, which covers deploymentclient.conf and serverclass.conf. For more CLI commands, see the <a href=\"https:\/\/www.devopsschool.com\/blog\/splunk-tutorials-splunk-commands-reference\/\">Splunk commands reference<\/a>.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently asked questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">What port does a Splunk deployment client use to reach the deployment server?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">It uses the deployment server&#039;s management port, which is TCP 8089 by default. Data forwarding to indexers is separate and normally uses port 9997.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How often do deployment clients check for new apps?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">By default they phone home every 60 seconds. You can change this with <code>phoneHomeIntervalInSecs<\/code> in the <code>[deployment-client]<\/code> stanza of deploymentclient.conf.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Do I need to restart the deployment server after editing serverclass.conf?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. Run <code>splunk reload deploy-server<\/code> and the server picks up changes to serverclass.conf and to the apps in deployment-apps.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why did my app deploy but the forwarder is not sending data?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Usually the forwarder was not restarted after the app arrived, so set <code>restartSplunkd = true<\/code>. Other common causes are a wrong monitor path, a target index that does not exist, or an indexer that is not listening on the receiving port.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Where does the deployed app end up on the forwarder?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In <code>$SPLUNK_HOME\/etc\/apps\/&lt;app_name&gt;<\/code>, for example <code>\/opt\/splunkforwarder\/etc\/apps\/testapp<\/code>. Any local edits there get overwritten on the next sync.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related tutorials<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/splunk-tutorials-splunk-commands-reference\/\">Splunk Tutorials: Splunk Commands Reference<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/category\/monitoring-observability\/splunk\/\">More Splunk tutorials<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/what-is-splunk-and-how-it-works-an-overview-and-its-use-cases\/\">What is Splunk and How it works? An Overview and Its Use Cases<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/top-50-splunk-interview-questions-and-answers\/\">Top 50 Splunk interview questions and answers<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>A Splunk deployment server keeps apps such as inputs.conf and outputs.conf in one central place and pushes them to universal forwarders, which check in regularly as deployment&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[5207],"tags":[26272],"class_list":["post-30451","post","type-post","status-publish","format-standard","hentry","category-splunk","tag-splunk-universal-forwarder"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/30451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=30451"}],"version-history":[{"count":3,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/30451\/revisions"}],"predecessor-version":[{"id":80687,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/30451\/revisions\/80687"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=30451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=30451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=30451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}