<?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: Not able to search with some fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443611#M125836</link>
    <description>&lt;P&gt;In the role you have two configs : &lt;CODE&gt;Indexes searched by default&lt;/CODE&gt;and &lt;CODE&gt;Indexes&lt;/CODE&gt;are they both set to &lt;STRONG&gt;All non Internal indexes&lt;/STRONG&gt;  ?&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2019 10:36:43 GMT</pubDate>
    <dc:creator>DavidHourani</dc:creator>
    <dc:date>2019-06-27T10:36:43Z</dc:date>
    <item>
      <title>Not able to search with some fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443606#M125831</link>
      <description>&lt;P&gt;Hello All&lt;BR /&gt;
I am not sure, why i am not able to use search like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but if i search like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* host=* 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;then it will work.&lt;/P&gt;

&lt;P&gt;Not sure why. I need to use more fields to start searching but some are working some are not.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 07:22:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443606#M125831</guid>
      <dc:creator>vishaltaneja070</dc:creator>
      <dc:date>2019-06-27T07:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to search with some fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443607#M125832</link>
      <description>&lt;P&gt;@vishaltaneja07011993 You can use Access Control in Splunk to define some default index which can be search by your user role without defining the &lt;CODE&gt;index=&lt;/CODE&gt; in the search query.&lt;/P&gt;

&lt;P&gt;Refer to documentation: &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Security/Addandeditroles#Add_or_edit_a_role"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Security/Addandeditroles#Add_or_edit_a_role&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 08:27:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443607#M125832</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-06-27T08:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to search with some fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443608#M125833</link>
      <description>&lt;P&gt;Hi @vishaltaneja07011993,&lt;/P&gt;

&lt;P&gt;This is because running &lt;CODE&gt;host=*&lt;/CODE&gt; is the equivalent of running  &lt;CODE&gt;index="your user's role default searched indexes" host=*&lt;/CODE&gt; . &lt;/P&gt;

&lt;P&gt;If your requirement is that  &lt;CODE&gt;index=* host=*&lt;/CODE&gt; and &lt;CODE&gt;host=*&lt;/CODE&gt; give you the same results then you need to add all your indexes to the list of indexes searched by default for your role.&lt;/P&gt;

&lt;P&gt;To do so you can change this under &lt;STRONG&gt;Settings&lt;/STRONG&gt; » &lt;STRONG&gt;Access controls&lt;/STRONG&gt; » &lt;STRONG&gt;Roles&lt;/STRONG&gt; » &lt;STRONG&gt;Your Role&lt;/STRONG&gt; » &lt;STRONG&gt;Default indexes&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Let me know if that helps.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
David&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 08:59:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443608#M125833</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-06-27T08:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to search with some fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443609#M125834</link>
      <description>&lt;P&gt;Hello @DavidHourani&lt;/P&gt;

&lt;P&gt;Nope it is not like that, in the roles i have mentioned by default access to &lt;STRONG&gt;All non Internal indexes&lt;/STRONG&gt; &lt;BR /&gt;
But still it is not running&lt;/P&gt;

&lt;P&gt;So some other issue it is.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 10:31:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443609#M125834</guid>
      <dc:creator>vishaltaneja070</dc:creator>
      <dc:date>2019-06-27T10:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to search with some fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443610#M125835</link>
      <description>&lt;P&gt;Hello @niketnilay&lt;/P&gt;

&lt;P&gt;Nope it is not like that, in the roles i have mentioned by default access to &lt;STRONG&gt;All non Internal indexes&lt;/STRONG&gt; &lt;BR /&gt;
But still it is not running&lt;/P&gt;

&lt;P&gt;So some other issue it is.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 10:32:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443610#M125835</guid>
      <dc:creator>vishaltaneja070</dc:creator>
      <dc:date>2019-06-27T10:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to search with some fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443611#M125836</link>
      <description>&lt;P&gt;In the role you have two configs : &lt;CODE&gt;Indexes searched by default&lt;/CODE&gt;and &lt;CODE&gt;Indexes&lt;/CODE&gt;are they both set to &lt;STRONG&gt;All non Internal indexes&lt;/STRONG&gt;  ?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 10:36:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443611#M125836</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-06-27T10:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to search with some fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443612#M125837</link>
      <description>&lt;P&gt;Hello @davidhourani&lt;/P&gt;

&lt;P&gt;yes &lt;BR /&gt;
For &lt;STRONG&gt;Indexes searched by default&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;it is having &lt;STRONG&gt;All Non Internal indexes&lt;/STRONG&gt;&lt;BR /&gt;
 &amp;amp; for indexes search one has both &lt;STRONG&gt;All Non Internal Indexes&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;All Internal Indexes&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 10:57:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443612#M125837</guid>
      <dc:creator>vishaltaneja070</dc:creator>
      <dc:date>2019-06-27T10:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to search with some fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443613#M125838</link>
      <description>&lt;P&gt;you have the same when running a search with &lt;CODE&gt;sourcetype=*&lt;/CODE&gt; instead of &lt;CODE&gt;host=*&lt;/CODE&gt; ?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 11:45:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443613#M125838</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-06-27T11:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to search with some fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443614#M125839</link>
      <description>&lt;P&gt;@vishaltaneja07011993 I am not sure why that is not working. If proper access has been provisioned this should work out of the box. You should raise a Splunk Support case to have them look into configuration issue.&lt;/P&gt;

&lt;P&gt;What are the indexes that show up when you run the following query?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count where index=* by index
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Jun 2019 13:26:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443614#M125839</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-06-27T13:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to search with some fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443615#M125840</link>
      <description>&lt;P&gt;No with sourcetype=* it is working good.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 13:34:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443615#M125840</guid>
      <dc:creator>vishaltaneja070</dc:creator>
      <dc:date>2019-06-27T13:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to search with some fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443616#M125841</link>
      <description>&lt;P&gt;could be a bug then... it's weird...long shot but try something like &lt;CODE&gt;host="*"&lt;/CODE&gt; maybe it has something to do with the format..&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 13:41:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443616#M125841</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-06-27T13:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to search with some fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443617#M125842</link>
      <description>&lt;P&gt;Nope . No luck &lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 09:57:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443617#M125842</guid>
      <dc:creator>vishaltaneja070</dc:creator>
      <dc:date>2019-06-28T09:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to search with some fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443618#M125843</link>
      <description>&lt;P&gt;It is giving mostly all the indexes&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 09:58:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-able-to-search-with-some-fields/m-p/443618#M125843</guid>
      <dc:creator>vishaltaneja070</dc:creator>
      <dc:date>2019-06-28T09:58:45Z</dc:date>
    </item>
  </channel>
</rss>

