<?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 Eventtype and Subsearch problem after migration in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Eventtype-and-Subsearch-problem-after-migration/m-p/334429#M99395</link>
    <description>&lt;P&gt;Hi everybody.&lt;/P&gt;

&lt;P&gt;After migrating splunk from one node to another I started having problems with eventtypes and subsearch.&lt;BR /&gt;
We have migrated everything. From apps to users. With the related authorizations.&lt;/P&gt;

&lt;P&gt;Now when I run a search with a simple eventtype (Eventtype "example" ---&amp;gt; index = linux sourcetype = suse) the search does not return any results. If you manually specify the index before the eventtype then the search works and returns results (index=linux eventtype="example"). &lt;BR /&gt;
It seems like it's a problem of access to the indexes. As specifying it the eventtype works. If he has to access it only through the eventtype he can not.&lt;/P&gt;

&lt;P&gt;I checked the various permissions and executed the eventtype from the app search. Nothing.&lt;/P&gt;

&lt;P&gt;if I add this index at the "Indices included by default in the search" the eventtype works.&lt;/P&gt;

&lt;P&gt;I  also noticed that subsearch does not work. The subsearch does not work in a dashboard moved from the old node to the new one. But if I run it like simple search it works perfectly. The search is correct because the on the old node works. Even here it seems a problem of authorizations. I checked them and it looks like everything it's ok.&lt;/P&gt;

&lt;P&gt;I think something happened during the migration. Although everything has been recreated in the same way.&lt;/P&gt;

&lt;P&gt;Splunk now is at 7.0.0. &lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;

&lt;P&gt;EDIT: &lt;/P&gt;

&lt;P&gt;I noticed that if instead of using an index created by the Master Node (Indexers are clustered) I use an index created locally on one of the two nodes eventtypes work properly. &lt;BR /&gt;
They can not operate only on the indices created by the Master Node.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Dec 2017 10:03:22 GMT</pubDate>
    <dc:creator>danyx32</dc:creator>
    <dc:date>2017-12-12T10:03:22Z</dc:date>
    <item>
      <title>Eventtype and Subsearch problem after migration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Eventtype-and-Subsearch-problem-after-migration/m-p/334429#M99395</link>
      <description>&lt;P&gt;Hi everybody.&lt;/P&gt;

&lt;P&gt;After migrating splunk from one node to another I started having problems with eventtypes and subsearch.&lt;BR /&gt;
We have migrated everything. From apps to users. With the related authorizations.&lt;/P&gt;

&lt;P&gt;Now when I run a search with a simple eventtype (Eventtype "example" ---&amp;gt; index = linux sourcetype = suse) the search does not return any results. If you manually specify the index before the eventtype then the search works and returns results (index=linux eventtype="example"). &lt;BR /&gt;
It seems like it's a problem of access to the indexes. As specifying it the eventtype works. If he has to access it only through the eventtype he can not.&lt;/P&gt;

&lt;P&gt;I checked the various permissions and executed the eventtype from the app search. Nothing.&lt;/P&gt;

&lt;P&gt;if I add this index at the "Indices included by default in the search" the eventtype works.&lt;/P&gt;

&lt;P&gt;I  also noticed that subsearch does not work. The subsearch does not work in a dashboard moved from the old node to the new one. But if I run it like simple search it works perfectly. The search is correct because the on the old node works. Even here it seems a problem of authorizations. I checked them and it looks like everything it's ok.&lt;/P&gt;

&lt;P&gt;I think something happened during the migration. Although everything has been recreated in the same way.&lt;/P&gt;

&lt;P&gt;Splunk now is at 7.0.0. &lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;

&lt;P&gt;EDIT: &lt;/P&gt;

&lt;P&gt;I noticed that if instead of using an index created by the Master Node (Indexers are clustered) I use an index created locally on one of the two nodes eventtypes work properly. &lt;BR /&gt;
They can not operate only on the indices created by the Master Node.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 10:03:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Eventtype-and-Subsearch-problem-after-migration/m-p/334429#M99395</guid>
      <dc:creator>danyx32</dc:creator>
      <dc:date>2017-12-12T10:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Eventtype and Subsearch problem after migration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Eventtype-and-Subsearch-problem-after-migration/m-p/334430#M99396</link>
      <description>&lt;P&gt;It sounds like you aren't searching all indexes by default.  Check your roles configuration(s) to see which indexes will be searched by default.&lt;/P&gt;

&lt;P&gt;Settings -&amp;gt; Access Controls -&amp;gt; Roles -&amp;gt; (select role) -&amp;gt; Indexes searched by default&lt;/P&gt;

&lt;P&gt;You will need indexes.conf on the search head to be able to select the indexes.  It needs to match that of the cluster master.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 15:08:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Eventtype-and-Subsearch-problem-after-migration/m-p/334430#M99396</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2017-12-12T15:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Eventtype and Subsearch problem after migration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Eventtype-and-Subsearch-problem-after-migration/m-p/334431#M99397</link>
      <description>&lt;P&gt;Hi &lt;BR /&gt;
the problem is that an architecture with two clustered indexers used each one both as Indexer and as Search Head doesn'r run on 7.0.0!&lt;BR /&gt;
In other words executing a search with subsearches on a clustered indexer it doesn't work, there must be a Search Head!&lt;/P&gt;

&lt;P&gt;I have this architecture on 6.4.2 and it's still running, instead on 7.0.0. probably is changed somebody in search execution so subsearches don't run if I execute this search on the Indexer.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 16:30:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Eventtype-and-Subsearch-problem-after-migration/m-p/334431#M99397</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-12-19T16:30:23Z</dc:date>
    </item>
  </channel>
</rss>

