<?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 to search in default indexes (not only one) in one app without providing the index. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-search-in-default-indexes-not-only-one-in-one-app-without/m-p/327015#M97425</link>
    <description>&lt;P&gt;I usually create an eventtype with all indexes and I use it in every search, so in this way I can add or delete an index from my search without modifying all dashboards.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2017 07:26:02 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2017-04-14T07:26:02Z</dc:date>
    <item>
      <title>how to search in default indexes (not only one) in one app without providing the index.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-search-in-default-indexes-not-only-one-in-one-app-without/m-p/327013#M97423</link>
      <description>&lt;P&gt;Hello folks&lt;/P&gt;

&lt;P&gt;There is a way to configure which indexes belongs which splunk app. Is there also a way to configure in app to tell splunk per default which indexes to search through.&lt;BR /&gt;
Let's say I have three indexes called: &lt;CODE&gt;ix1, ix2, ix3&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;If I go to the searchbar of this app I would like that splunk is adding a base search: &lt;CODE&gt;index=ix1 OR index=ix2 OR index=ix3 &amp;lt;rest_of_the_search_provided_by_the_user&amp;gt;&lt;/CODE&gt; that I don't have to enter everytime all indexes.&lt;/P&gt;

&lt;P&gt;Thanks for your advise.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 14:07:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-search-in-default-indexes-not-only-one-in-one-app-without/m-p/327013#M97423</guid>
      <dc:creator>zugji</dc:creator>
      <dc:date>2017-04-13T14:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to search in default indexes (not only one) in one app without providing the index.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-search-in-default-indexes-not-only-one-in-one-app-without/m-p/327014#M97424</link>
      <description>&lt;P&gt;Short answer : No. &lt;BR /&gt;
The index access is controlled by the roles, not by the apps.&lt;/P&gt;

&lt;P&gt;You can use a macros specific to the app to prefill your base search, but you will have to find a way to call that macro.&lt;BR /&gt;
You may want to piggy back on this question for way to script that :&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/521009/in-a-custom-app-dashboard-is-it-possible-to-have-a.html"&gt;https://answers.splunk.com/answers/521009/in-a-custom-app-dashboard-is-it-possible-to-have-a.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 16:39:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-search-in-default-indexes-not-only-one-in-one-app-without/m-p/327014#M97424</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2017-04-13T16:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to search in default indexes (not only one) in one app without providing the index.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-search-in-default-indexes-not-only-one-in-one-app-without/m-p/327015#M97425</link>
      <description>&lt;P&gt;I usually create an eventtype with all indexes and I use it in every search, so in this way I can add or delete an index from my search without modifying all dashboards.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 07:26:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-search-in-default-indexes-not-only-one-in-one-app-without/m-p/327015#M97425</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-04-14T07:26:02Z</dc:date>
    </item>
  </channel>
</rss>

