<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I configure the Deployment Server to have a Universal Forwarder send logs to a specific index? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-Deployment-Server-to-have-a-Universal/m-p/229419#M44633</link>
    <description>&lt;P&gt;Hi nmensah, &lt;/P&gt;

&lt;P&gt;good news, you dont have to restart the forwarder every time manually! If the UF sees a diff with the installed version of an app or a new app exists on the DS the UF downloads the app and restart automatically.  All you need to do is &lt;CODE&gt;splunk reload deploy-server&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.1/Updating/Updateconfigurations#Redeploy_an_app_after_you_change_its_content"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.1/Updating/Updateconfigurations#Redeploy_an_app_after_you_change_its_content&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Redeploy an app after you change its content&lt;BR /&gt;
When you update the content of an app, you must reload the deployment server in order for the deployment server to redeploy the app. &lt;BR /&gt;
Note: If you are using forwarder management, you must also manually reload the deployment server if you want to redeploy the app immediately. However, if do not manually reload the deployment server, the app will still get redeployed once you make any subsequent configuration changes in forwarder management. &lt;BR /&gt;
To redeploy an app with updated content: &lt;BR /&gt;
1. Update the content in the relevant deployment app directory on the deployment server. &lt;BR /&gt;
2. Reload the deployment server to make the deployment server aware of the changed content. &lt;BR /&gt;
The deployment server then redeploys the app to all clients that it's mapped to. &lt;BR /&gt;
1. Update the content&lt;BR /&gt;
The topic "Create deployment apps" described how to create app directories on the deployment server. You can add or overwrite the content in those directories at any time. &lt;BR /&gt;
2. Reload the deployment server&lt;BR /&gt;
After you edit the content of an app, you must reload the deployment server so that the deployment server learns of the changed app. It then redeploys the app to the mapped set of clients. &lt;BR /&gt;
To reload the deployment server, use the CLI reload deploy-server command: &lt;BR /&gt;
 splunk reload deploy-server&lt;BR /&gt;
The command checks all apps for changes and notifies the relevant clients.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Greetings&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2016 09:29:42 GMT</pubDate>
    <dc:creator>hgrow</dc:creator>
    <dc:date>2016-11-17T09:29:42Z</dc:date>
    <item>
      <title>How do I configure the Deployment Server to have a Universal Forwarder send logs to a specific index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-Deployment-Server-to-have-a-Universal/m-p/229415#M44629</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;

&lt;P&gt;I have in theory a very simple question. Hopefully this is as simple as I think it is. I have a deployment server and a Universal Forwarder (UF). I also have an indexer and search head. My question is, how do I configure my deployment server to have the UF forward all logs to a certain index? I have the server class and "apps" folder set up but do I drop a config file in there or what? I can't find any good documentation. Thank you so much!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 18:12:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-Deployment-Server-to-have-a-Universal/m-p/229415#M44629</guid>
      <dc:creator>nmensah</dc:creator>
      <dc:date>2016-11-15T18:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure the Deployment Server to have a Universal Forwarder send logs to a specific index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-Deployment-Server-to-have-a-Universal/m-p/229416#M44630</link>
      <description>&lt;P&gt;Hi nmensah, &lt;/P&gt;

&lt;P&gt;do you want configure to wich indexer (Server) the UF sends logs to or do you want the specifiy in wich index all logs are going?&lt;BR /&gt;
The index your data goes in is already definied by the input itself (inputs.conf). &lt;BR /&gt;
To manage the "send to an indexer" configuration read below: &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Forwarder/6.5.0/Forwarder/HowtoforwarddatatoSplunkEnterprise" target="_blank"&gt;http://docs.splunk.com/Documentation/Forwarder/6.5.0/Forwarder/HowtoforwarddatatoSplunkEnterprise&lt;/A&gt; covers most points.&lt;/P&gt;

&lt;P&gt;Basicly you will deploy an app "send_to_my_indexer" via deployment server to your forwarder wich tells your UF to send logs to your indexer:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Configure UF to be managed by your deployment server&lt;/LI&gt;
&lt;LI&gt;Set up the "send_to_my_indexer" on your deplyoment server&lt;/LI&gt;
&lt;LI&gt; deploy and your are good to go&lt;/LI&gt;
&lt;/OL&gt;

&lt;HR /&gt;

&lt;P&gt;1) Should cover everything &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/Updating/Configuredeploymentclients" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/Updating/Configuredeploymentclients&lt;/A&gt;&lt;BR /&gt;
2) To send all your data form your UF to your index a outputs.conf must be deployed: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
disabled = false
defaultGroup=yourIndexerGroup

[tcpout:yourIndexerGroup]
server=IndexerAdress:ReceivingPort
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So just all you need is an app "send_to_my_indexer" under SPLUNK_HOME/etc/deployment-apps wich cointains the outputs.conf file. &lt;/P&gt;

&lt;P&gt;3) If not already covered by the link above &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/Updating/Updateconfigurations" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/Updating/Updateconfigurations&lt;/A&gt; might help&lt;/P&gt;

&lt;P&gt;Greetings hgrow&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:49:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-Deployment-Server-to-have-a-Universal/m-p/229416#M44630</guid>
      <dc:creator>hgrow</dc:creator>
      <dc:date>2020-09-29T11:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure the Deployment Server to have a Universal Forwarder send logs to a specific index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-Deployment-Server-to-have-a-Universal/m-p/229417#M44631</link>
      <description>&lt;P&gt;Hi  nmensah,&lt;BR /&gt;
Splunk's Best Practices suggest to  build a Technology Add-On (TA), called for example TA_Forwarders, in which put only outputs.conf and deploy it to all you forwarders.&lt;BR /&gt;
In this TA you insert an outputs.conf file with all the information mandatory to send logs to indexers:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = autolb

[tcpout:autolb]
server = xx.xx.xx.xx:9997, yy.yy.yy.yy:9997
disabled = false

[tcpout-server://xx.xx.xx.xx:9997]

[[tcpout-server://yy.yy.yy.yy:9997]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;if you want to use SSL, you have to insert also&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sslCertPath = $SPLUNK_HOME/etc/auth/server.pem
sslPassword = xxxxxxxxxxxxxxxxxxxxx
sslRootCAPath = $SPLUNK_HOME/etc/auth/cacert.pem
sslVerifyServerCert = false
useACK=true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So steps to do this are:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;create your TA_Forwarders modifying outputs.conf;&lt;/LI&gt;
&lt;LI&gt;copy it on your Deployment server ($SPLUNK_HOME/etc/deployment-apps);&lt;/LI&gt;
&lt;LI&gt;deploy;&lt;/LI&gt;
&lt;LI&gt;if you already have an outputs.conf in your Forwarder, delete (or rename) it;&lt;/LI&gt;
&lt;LI&gt;restart Splunk.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 12:14:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-Deployment-Server-to-have-a-Universal/m-p/229417#M44631</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2016-11-16T12:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure the Deployment Server to have a Universal Forwarder send logs to a specific index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-Deployment-Server-to-have-a-Universal/m-p/229418#M44632</link>
      <description>&lt;P&gt;Thank you everyone very much for the help. This worked great. One issue though. When configure the deployment server app and the forwarder receives the configurations, how long does it take for the configuration to go into effect on the forwarder? Do I need to manually restart the forwarder every time?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 19:24:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-Deployment-Server-to-have-a-Universal/m-p/229418#M44632</guid>
      <dc:creator>nmensah</dc:creator>
      <dc:date>2016-11-16T19:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure the Deployment Server to have a Universal Forwarder send logs to a specific index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-Deployment-Server-to-have-a-Universal/m-p/229419#M44633</link>
      <description>&lt;P&gt;Hi nmensah, &lt;/P&gt;

&lt;P&gt;good news, you dont have to restart the forwarder every time manually! If the UF sees a diff with the installed version of an app or a new app exists on the DS the UF downloads the app and restart automatically.  All you need to do is &lt;CODE&gt;splunk reload deploy-server&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.1/Updating/Updateconfigurations#Redeploy_an_app_after_you_change_its_content"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.1/Updating/Updateconfigurations#Redeploy_an_app_after_you_change_its_content&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Redeploy an app after you change its content&lt;BR /&gt;
When you update the content of an app, you must reload the deployment server in order for the deployment server to redeploy the app. &lt;BR /&gt;
Note: If you are using forwarder management, you must also manually reload the deployment server if you want to redeploy the app immediately. However, if do not manually reload the deployment server, the app will still get redeployed once you make any subsequent configuration changes in forwarder management. &lt;BR /&gt;
To redeploy an app with updated content: &lt;BR /&gt;
1. Update the content in the relevant deployment app directory on the deployment server. &lt;BR /&gt;
2. Reload the deployment server to make the deployment server aware of the changed content. &lt;BR /&gt;
The deployment server then redeploys the app to all clients that it's mapped to. &lt;BR /&gt;
1. Update the content&lt;BR /&gt;
The topic "Create deployment apps" described how to create app directories on the deployment server. You can add or overwrite the content in those directories at any time. &lt;BR /&gt;
2. Reload the deployment server&lt;BR /&gt;
After you edit the content of an app, you must reload the deployment server so that the deployment server learns of the changed app. It then redeploys the app to the mapped set of clients. &lt;BR /&gt;
To reload the deployment server, use the CLI reload deploy-server command: &lt;BR /&gt;
 splunk reload deploy-server&lt;BR /&gt;
The command checks all apps for changes and notifies the relevant clients.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Greetings&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2016 09:29:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-Deployment-Server-to-have-a-Universal/m-p/229419#M44633</guid>
      <dc:creator>hgrow</dc:creator>
      <dc:date>2016-11-17T09:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure the Deployment Server to have a Universal Forwarder send logs to a specific index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-Deployment-Server-to-have-a-Universal/m-p/229420#M44634</link>
      <description>&lt;P&gt;Thank you everyone! It worked out perfectly! I used this document to create the app that would allow the deployment server to tell the Forwarder which data to collect and which index to send it to: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/Updating/Extendedexampledeployseveralstandardforwarders"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/Updating/Extendedexampledeployseveralstandardforwarders&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2016 16:56:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-the-Deployment-Server-to-have-a-Universal/m-p/229420#M44634</guid>
      <dc:creator>nmensah</dc:creator>
      <dc:date>2016-11-18T16:56:29Z</dc:date>
    </item>
  </channel>
</rss>

