<?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 Problem trying to use deployment-apps in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Problem-trying-to-use-deployment-apps/m-p/229594#M8599</link>
    <description>&lt;P&gt;I am fresh to Splunk Enterprise so I must be missing something simple. To summarize: what does a deployment application actually do? I see the "deployment": the files are copied from the search head/DS to the specified forwarder(s). Everything about "Forwarder management" appears to be working as expected, being configured with the web GUI and/or the CLI files. I have separate Linux instances for 6.5.1 search head, indexers, forwarders, and have been through the Updating SE Instances 6.5.1 PDF several times.&lt;/P&gt;

&lt;P&gt;To rephrase, the ./deployment-apps files are deployed but then what? Descriptions mention deployment of arbitrary content, script and configuration files. Setting aside the if/when/how for running(?) script files, configuration files are the concern here. I've seen text and other Answers posts that imply the deployment of, say, an inputs.conf file to a forwarder will affect the data it looks at, ingests. I can see how that configuration deployment would make sense when there are many forwarders that want to do about the same thing&lt;/P&gt;

&lt;P&gt;Details here:&lt;BR /&gt;
* Deployment server &amp;amp; clients show as connected with ./splunk CLI show/list deploy commands.&lt;BR /&gt;
* Automated deployment and manual "reload deploy-server" have both been done.&lt;BR /&gt;
* As said earlier, the files are being deployed to the clients.&lt;BR /&gt;
* Fresh "qwerty" index.&lt;BR /&gt;
* An inputs.conf is set-up &amp;amp; deployed to a forwarder for an existing log file:&lt;/P&gt;

&lt;P&gt;Deployment server&lt;BR /&gt;
cat $SPLUNK_HOME/etc/deployment-apps/qwerty-app/default/inputs.conf&lt;BR /&gt;
[monitor:///opt/log/junk]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = qwerty&lt;BR /&gt;
whitelist = *.log&lt;/P&gt;

&lt;P&gt;Forwarder&lt;BR /&gt;
[splunk qwerty-app]$ cat /opt/splunkforwarder/etc/apps/qwerty-app/default/inputs.conf &lt;BR /&gt;
[monitor:///opt/log/junk]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = qwerty&lt;BR /&gt;
whitelist = *.log&lt;/P&gt;

&lt;P&gt;Log file on forwarder&lt;BR /&gt;
[splunk]$ ls -al /opt/log/junk/*&lt;BR /&gt;
-rw------- 1 splunk splunk 864674 Jan 13 22:35 /opt/log/junk/crunch.log&lt;/P&gt;

&lt;P&gt;Shouldn't the new "qwerty" index now have crunch.log data? The forwarder splunkd process was set to restart following the app deployment; restarting it and the search head again made no difference. I've also tried the conf with &amp;amp; without the 'host' parameter (didn't think it'd matter).&lt;/P&gt;

&lt;P&gt;Any assistance would be greatly appreciated.&lt;/P&gt;</description>
    <pubDate>Sat, 14 Jan 2017 02:14:52 GMT</pubDate>
    <dc:creator>smellpit</dc:creator>
    <dc:date>2017-01-14T02:14:52Z</dc:date>
    <item>
      <title>Problem trying to use deployment-apps</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Problem-trying-to-use-deployment-apps/m-p/229594#M8599</link>
      <description>&lt;P&gt;I am fresh to Splunk Enterprise so I must be missing something simple. To summarize: what does a deployment application actually do? I see the "deployment": the files are copied from the search head/DS to the specified forwarder(s). Everything about "Forwarder management" appears to be working as expected, being configured with the web GUI and/or the CLI files. I have separate Linux instances for 6.5.1 search head, indexers, forwarders, and have been through the Updating SE Instances 6.5.1 PDF several times.&lt;/P&gt;

&lt;P&gt;To rephrase, the ./deployment-apps files are deployed but then what? Descriptions mention deployment of arbitrary content, script and configuration files. Setting aside the if/when/how for running(?) script files, configuration files are the concern here. I've seen text and other Answers posts that imply the deployment of, say, an inputs.conf file to a forwarder will affect the data it looks at, ingests. I can see how that configuration deployment would make sense when there are many forwarders that want to do about the same thing&lt;/P&gt;

&lt;P&gt;Details here:&lt;BR /&gt;
* Deployment server &amp;amp; clients show as connected with ./splunk CLI show/list deploy commands.&lt;BR /&gt;
* Automated deployment and manual "reload deploy-server" have both been done.&lt;BR /&gt;
* As said earlier, the files are being deployed to the clients.&lt;BR /&gt;
* Fresh "qwerty" index.&lt;BR /&gt;
* An inputs.conf is set-up &amp;amp; deployed to a forwarder for an existing log file:&lt;/P&gt;

&lt;P&gt;Deployment server&lt;BR /&gt;
cat $SPLUNK_HOME/etc/deployment-apps/qwerty-app/default/inputs.conf&lt;BR /&gt;
[monitor:///opt/log/junk]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = qwerty&lt;BR /&gt;
whitelist = *.log&lt;/P&gt;

&lt;P&gt;Forwarder&lt;BR /&gt;
[splunk qwerty-app]$ cat /opt/splunkforwarder/etc/apps/qwerty-app/default/inputs.conf &lt;BR /&gt;
[monitor:///opt/log/junk]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = qwerty&lt;BR /&gt;
whitelist = *.log&lt;/P&gt;

&lt;P&gt;Log file on forwarder&lt;BR /&gt;
[splunk]$ ls -al /opt/log/junk/*&lt;BR /&gt;
-rw------- 1 splunk splunk 864674 Jan 13 22:35 /opt/log/junk/crunch.log&lt;/P&gt;

&lt;P&gt;Shouldn't the new "qwerty" index now have crunch.log data? The forwarder splunkd process was set to restart following the app deployment; restarting it and the search head again made no difference. I've also tried the conf with &amp;amp; without the 'host' parameter (didn't think it'd matter).&lt;/P&gt;

&lt;P&gt;Any assistance would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jan 2017 02:14:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Problem-trying-to-use-deployment-apps/m-p/229594#M8599</guid>
      <dc:creator>smellpit</dc:creator>
      <dc:date>2017-01-14T02:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem trying to use deployment-apps</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Problem-trying-to-use-deployment-apps/m-p/229595#M8600</link>
      <description>&lt;P&gt;It's good to start with - &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/Troubleshooting/Cantfinddata"&gt;I can't find my data!&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;in general, instead of - &lt;CODE&gt;SPLUNK_HOME/etc/deployment-apps/qwerty-app/default/inputs.conf&lt;/CODE&gt; use please &lt;CODE&gt;SPLUNK_HOME/etc/deployment-apps/qwerty-app/local/inputs.conf&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Do you have the corresponding &lt;CODE&gt;outputs.conf&lt;/CODE&gt;?&lt;/P&gt;

&lt;P&gt;About &lt;CODE&gt;Log file on forwarder&lt;BR /&gt;
[splunk]$ ls -al /opt/log/junk/*&lt;BR /&gt;
-rw------- 1 splunk splunk 864674 Jan 13 22:35 /opt/log/junk/crunch.log&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;does &lt;CODE&gt;tail /opt/log/junk/crunch.log&lt;/CODE&gt; work?&lt;/P&gt;

&lt;P&gt;Do you see any errors on the forwarder at  &lt;CODE&gt;/opt/splunkforwarder/var/log/splunk/splunkd.log&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2017 00:17:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Problem-trying-to-use-deployment-apps/m-p/229595#M8600</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-01-15T00:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem trying to use deployment-apps</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Problem-trying-to-use-deployment-apps/m-p/229596#M8601</link>
      <description>&lt;P&gt;I had seen "I can't find my data!" before but this time it (almost) fits. Briefly (well, not, but frustration wants to answer everything):&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Are you running Splunk Free? No, trial license. And the indexers aren't slaving the master license but that should not matter (see next "Example case").&lt;/LI&gt;
&lt;LI&gt;Was the data added to a different index? "Example case" (a Splunk example) delivers to "main" but my test cases haven't delivered to other indexes.&lt;/LI&gt;
&lt;LI&gt;Do your permissions allow you to see the data? All Linux-sample log files are splunk:splunk (processes user:group).&lt;/LI&gt;
&lt;LI&gt;What about issues related to time? Cannot see a relation: "All time" works, but only(!?) for the "Example case" /var/log/messages file.&lt;/LI&gt;
&lt;LI&gt;Are you using forwarders? Yes, which works fine w/ "Example case(!)" log file.&lt;/LI&gt;
&lt;LI&gt;Are you using search heads? Yes, and searches do see new and existing indexer data.&lt;/LI&gt;
&lt;LI&gt;Are you still logged in and under your license usage? Yes.&lt;/LI&gt;
&lt;LI&gt;Are you using a scheduled search? No.&lt;/LI&gt;
&lt;LI&gt;Check your search query; Are you using NOT, AND, or OR? Don't need to: 'index="whatever"' is enough to check (un)available data.&lt;/LI&gt;
&lt;LI&gt;Are you extracting fields? Doesn't need to get that far.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;This must be something simple or (very) esoteric; thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2017 05:37:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Problem-trying-to-use-deployment-apps/m-p/229596#M8601</guid>
      <dc:creator>smellpit</dc:creator>
      <dc:date>2017-01-16T05:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem trying to use deployment-apps</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Problem-trying-to-use-deployment-apps/m-p/229597#M8602</link>
      <description>&lt;P&gt;Hi  smellpit,&lt;BR /&gt;
I agree with the other friends, to better understand the process see &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/Troubleshooting/Cantfinddata" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/Troubleshooting/Cantfinddata&lt;/A&gt;.&lt;BR /&gt;
Every way, first check you have to do is to verify if you receive logs from that server&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal host=yourhost
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;id not, verify if routes and ports are open (telnet IP_SPLUNK_SERVER 9997 from the forwarder)&lt;BR /&gt;
if yes check if the monitor command is correct &lt;CODE&gt;/opt/log/junk/*.log&lt;/CODE&gt;and if you receive something &lt;CODE&gt;index=* host=yourhost&lt;/CODE&gt; with time period=always.&lt;BR /&gt;
I noted that you didn't set a sourcetype, so verify if events are acquired with the correct timestamp (maybe you received them but with a wrong timestamp and you don't see them).&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:27:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Problem-trying-to-use-deployment-apps/m-p/229597#M8602</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-29T12:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem trying to use deployment-apps</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Problem-trying-to-use-deployment-apps/m-p/229598#M8603</link>
      <description>&lt;P&gt;The problem was something simple: once I started using ./local instead of ./default the .conf files have been working as expected. I know about the precedence rules &amp;amp; the general "don't use ./default" rule-of-thumb. I still thought ./default would be OK since it is in the hierarchy &amp;amp; there are Splunk PDF deployment-app examples that use ./default. And I'd think that at least the first ./default deployment would do &lt;STRONG&gt;&lt;EM&gt;something&lt;/EM&gt;&lt;/STRONG&gt; as opposed to apparently nothing (at least for .conf files).&lt;/P&gt;

&lt;P&gt;Thanks everyone for your help &amp;amp; input. &lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 23:13:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Problem-trying-to-use-deployment-apps/m-p/229598#M8603</guid>
      <dc:creator>smellpit</dc:creator>
      <dc:date>2017-01-17T23:13:26Z</dc:date>
    </item>
  </channel>
</rss>

