<?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 i am unable to search the data with sourcetype name but i can search data by index name. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/i-am-unable-to-search-the-data-with-sourcetype-name-but-i-can/m-p/352578#M163196</link>
    <description>&lt;P&gt;i am unable to search the data with sourcetype name but i can search data by index name.Please tell what can i do to resolve this.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2018 07:05:08 GMT</pubDate>
    <dc:creator>Utkarsh_Singh</dc:creator>
    <dc:date>2018-02-01T07:05:08Z</dc:date>
    <item>
      <title>i am unable to search the data with sourcetype name but i can search data by index name.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/i-am-unable-to-search-the-data-with-sourcetype-name-but-i-can/m-p/352578#M163196</link>
      <description>&lt;P&gt;i am unable to search the data with sourcetype name but i can search data by index name.Please tell what can i do to resolve this.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 07:05:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/i-am-unable-to-search-the-data-with-sourcetype-name-but-i-can/m-p/352578#M163196</guid>
      <dc:creator>Utkarsh_Singh</dc:creator>
      <dc:date>2018-02-01T07:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: i am unable to search the data with sourcetype name but i can search data by index name.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/i-am-unable-to-search-the-data-with-sourcetype-name-but-i-can/m-p/352579#M163197</link>
      <description>&lt;P&gt;It looks like you don't have index specified in &lt;CODE&gt;srchIndexesDefault&lt;/CODE&gt; in authorize.conf for specific role, so in that case when you use &lt;CODE&gt;index=abc&lt;/CODE&gt; you will able to search but when you type &lt;CODE&gt;sourcetype=xyz&lt;/CODE&gt; it will try to search in indexes which is given in &lt;CODE&gt;srchIndexesDefault&lt;/CODE&gt;. If you don't provide any index in &lt;CODE&gt;srchIndexesDefault&lt;/CODE&gt; in authorize.conf for particular role then it will not display any result when you run &lt;CODE&gt;sourcetype=xyz&lt;/CODE&gt; query.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 07:10:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/i-am-unable-to-search-the-data-with-sourcetype-name-but-i-can/m-p/352579#M163197</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-02-01T07:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: i am unable to search the data with sourcetype name but i can search data by index name.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/i-am-unable-to-search-the-data-with-sourcetype-name-but-i-can/m-p/352580#M163198</link>
      <description>&lt;P&gt;you must update your Role(s) to include that index as part of the "Indexes searched by default."&lt;BR /&gt;
In UI, Go to&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; Settings&amp;gt;&amp;gt;Access controles&amp;gt;&amp;gt;Roles&amp;gt;&amp;gt;Select specific role&amp;gt;&amp;gt;Scroll down to "Indexes searched by default"&amp;gt;&amp;gt;include your index&amp;gt;&amp;gt;Click SAVE
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It will update authorize.conf for specific role&lt;BR /&gt;
and now you can search by sourcetype also.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 07:47:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/i-am-unable-to-search-the-data-with-sourcetype-name-but-i-can/m-p/352580#M163198</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-01T07:47:31Z</dc:date>
    </item>
  </channel>
</rss>

