<?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 New application of the search head cannot make search data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/New-application-of-the-search-head-cannot-make-search-data/m-p/296625#M56248</link>
    <description>&lt;P&gt;I've created two splunk applications that work fine and can access the data on my indexers.&lt;BR /&gt;&lt;BR /&gt;
However, when I create a third application named "new_application" (from scratch or cloning an existing app) it cannot access any of the data. &lt;/P&gt;

&lt;P&gt;While I can successfully load pregenerated data (using &lt;CODE&gt;loadjob&lt;/CODE&gt;) it fails when I try to make a direct search.&lt;BR /&gt;&lt;BR /&gt;
I looked in the search log for all the indexers that were used and found this error:  &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;dispatchRunner - RunDispatch::runDispatchThread threw error: Application does not exist: new_application&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Is there an additional deployment or new config setting that needs to be changed when creating new applications? &lt;/P&gt;

&lt;P&gt;edit:&lt;BR /&gt;
This was due to the app not being replicated. I found the issue to be related to be related to the syncing the replication bundle:  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;DistributedBundleReplicationManager - Synchronous bundle replication to 4 peer(s) succeeded; however it took too long (longer than 10 seconds): elapsed_ms=10859, tar_elapsed_ms=551, bundle_file_size=47750KB, replication_id=1499346376, replication_reason="sync replication required to establish common bundles across all search peers"  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've also tried changing the timeout in the distsearch to but it doesn't seem to reflect correctly.  &lt;/P&gt;</description>
    <pubDate>Thu, 06 Jul 2017 02:46:17 GMT</pubDate>
    <dc:creator>chustar</dc:creator>
    <dc:date>2017-07-06T02:46:17Z</dc:date>
    <item>
      <title>New application of the search head cannot make search data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/New-application-of-the-search-head-cannot-make-search-data/m-p/296625#M56248</link>
      <description>&lt;P&gt;I've created two splunk applications that work fine and can access the data on my indexers.&lt;BR /&gt;&lt;BR /&gt;
However, when I create a third application named "new_application" (from scratch or cloning an existing app) it cannot access any of the data. &lt;/P&gt;

&lt;P&gt;While I can successfully load pregenerated data (using &lt;CODE&gt;loadjob&lt;/CODE&gt;) it fails when I try to make a direct search.&lt;BR /&gt;&lt;BR /&gt;
I looked in the search log for all the indexers that were used and found this error:  &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;dispatchRunner - RunDispatch::runDispatchThread threw error: Application does not exist: new_application&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Is there an additional deployment or new config setting that needs to be changed when creating new applications? &lt;/P&gt;

&lt;P&gt;edit:&lt;BR /&gt;
This was due to the app not being replicated. I found the issue to be related to be related to the syncing the replication bundle:  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;DistributedBundleReplicationManager - Synchronous bundle replication to 4 peer(s) succeeded; however it took too long (longer than 10 seconds): elapsed_ms=10859, tar_elapsed_ms=551, bundle_file_size=47750KB, replication_id=1499346376, replication_reason="sync replication required to establish common bundles across all search peers"  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've also tried changing the timeout in the distsearch to but it doesn't seem to reflect correctly.  &lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 02:46:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/New-application-of-the-search-head-cannot-make-search-data/m-p/296625#M56248</guid>
      <dc:creator>chustar</dc:creator>
      <dc:date>2017-07-06T02:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: New application of the search head cannot make search data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/New-application-of-the-search-head-cannot-make-search-data/m-p/296626#M56249</link>
      <description>&lt;P&gt;It is all in the "how" of "I created a new application".  The 2 best ways are from the CLI, tar up an existing app in the &lt;CODE&gt;apps&lt;/CODE&gt; directory then rename the same app as something else, then untar to put the original back.  Then edit the stuff in the cloned app.  The next best way is from the GUI on the Search Head: &lt;CODE&gt;Apps&lt;/CODE&gt; -&amp;gt; &lt;CODE&gt;Manage apps&lt;/CODE&gt; -&amp;gt; &lt;CODE&gt;Create app&lt;/CODE&gt; button, then follow the prompts.  Just trash your existing one and start over.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 03:25:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/New-application-of-the-search-head-cannot-make-search-data/m-p/296626#M56249</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-07-06T03:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: New application of the search head cannot make search data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/New-application-of-the-search-head-cannot-make-search-data/m-p/296627#M56250</link>
      <description>&lt;P&gt;HI chustar,&lt;BR /&gt;
are you sure that all the knowledge objects of your cloned app are shared at App o Global Level?&lt;BR /&gt;
if you forgot as private some objects like eventtypes or field definitions you didn't copied them in the new app and it doesn't run.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 07:00:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/New-application-of-the-search-head-cannot-make-search-data/m-p/296627#M56250</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-07-06T07:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: New application of the search head cannot make search data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/New-application-of-the-search-head-cannot-make-search-data/m-p/296628#M56251</link>
      <description>&lt;P&gt;Yeah, thsoe are being shared globally.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 13:26:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/New-application-of-the-search-head-cannot-make-search-data/m-p/296628#M56251</guid>
      <dc:creator>chustar</dc:creator>
      <dc:date>2017-07-06T13:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: New application of the search head cannot make search data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/New-application-of-the-search-head-cannot-make-search-data/m-p/296629#M56252</link>
      <description>&lt;P&gt;This was due to the replication bundle not syncing. I've updated the question.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 13:27:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/New-application-of-the-search-head-cannot-make-search-data/m-p/296629#M56252</guid>
      <dc:creator>chustar</dc:creator>
      <dc:date>2017-07-06T13:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: New application of the search head cannot make search data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/New-application-of-the-search-head-cannot-make-search-data/m-p/296630#M56253</link>
      <description>&lt;P&gt;To resync  to can issue this command &lt;/P&gt;

&lt;P&gt;splunk resync shcluster-replicated-config &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: You do not need to restart the member after running this command.&lt;/P&gt;

&lt;P&gt;Caution: This command causes an overwrite of the member's entire set of search-related configurations, resulting in the loss of any local changes. &lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 14:22:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/New-application-of-the-search-head-cannot-make-search-data/m-p/296630#M56253</guid>
      <dc:creator>sbbadri</dc:creator>
      <dc:date>2017-07-06T14:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: New application of the search head cannot make search data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/New-application-of-the-search-head-cannot-make-search-data/m-p/296631#M56254</link>
      <description>&lt;P&gt;The issue was that all of the applications on the search head were being automatically replicated to our indexer.&lt;BR /&gt;&lt;BR /&gt;
One of those applications had a very long file name and this caused the indexers to fail while processing the issue.&lt;/P&gt;

&lt;P&gt;I fixed the issue by modifying the &lt;CODE&gt;system/local/distsearch.conf&lt;/CODE&gt; on the search head to prevent that application from replicating being replicated.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 22:12:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/New-application-of-the-search-head-cannot-make-search-data/m-p/296631#M56254</guid>
      <dc:creator>chustar</dc:creator>
      <dc:date>2017-07-06T22:12:23Z</dc:date>
    </item>
  </channel>
</rss>

