<?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 splunk search work in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-splunk-search-work/m-p/577858#M201366</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You should read this e.g. from&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Search/Aboutoptimization" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Search/Aboutoptimization&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There are lot of information on splunk's own documentation and also on .conf presentations e.g. &lt;A href="https://conf.splunk.com/files/2019/slides/FN1407.pdf" target="_blank" rel="noopener"&gt;https://conf.splunk.com/files/2019/slides/FN1407.pdf&lt;/A&gt;&amp;nbsp;just search with "search optimisation" &amp;nbsp;from conf online page.&lt;/P&gt;&lt;P&gt;Shortly to your question.&lt;/P&gt;&lt;P&gt;If those are same file but different occurrences then bot source and sourcetype will be same. But if those are different then you should use "source=.../File1 sourcetype=st_file1" on your SPL to restrict the search to only this file and then it will be more efficiently.&lt;/P&gt;&lt;P&gt;In generally splunk is not good for exclude things, it's much better to include (as you can see on docs). This affects also to performance. So try to use " a OR b OR c" instead of "NOT d".&lt;/P&gt;&lt;P&gt;Here is one more explanation, maybe little bit more detailed than what you are looking?&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-a-detailed-explanation-on-how-Splunk-search/m-p/110116" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-a-detailed-explanation-on-how-Splunk-search/m-p/110116&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I couldn't found that Splunk_and_MapReduce.pdf anymore from splunk.com, but some copies seems to be available somewhere else. Does anyone known if this is still available also on splunk.com?&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
    <pubDate>Thu, 09 Dec 2021 08:15:38 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2021-12-09T08:15:38Z</dc:date>
    <item>
      <title>How splunk search work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-splunk-search-work/m-p/577839#M201361</link>
      <description>&lt;P class=""&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I have 4 huge log file that ingest into the Splunk &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;File1&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;File2&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;File3&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;File4&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Now i want to know when i search specific string that only exist in the file1, what will be happen?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;What happens in the search process, for example if i exclude file2,3,4, does it effect in my search performance? Or Splunk automatically ignore them because they have not contain that string.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Any idea?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Thanks &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 04:15:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-splunk-search-work/m-p/577839#M201361</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2021-12-09T04:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: How splunk search work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-splunk-search-work/m-p/577858#M201366</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You should read this e.g. from&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Search/Aboutoptimization" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Search/Aboutoptimization&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There are lot of information on splunk's own documentation and also on .conf presentations e.g. &lt;A href="https://conf.splunk.com/files/2019/slides/FN1407.pdf" target="_blank" rel="noopener"&gt;https://conf.splunk.com/files/2019/slides/FN1407.pdf&lt;/A&gt;&amp;nbsp;just search with "search optimisation" &amp;nbsp;from conf online page.&lt;/P&gt;&lt;P&gt;Shortly to your question.&lt;/P&gt;&lt;P&gt;If those are same file but different occurrences then bot source and sourcetype will be same. But if those are different then you should use "source=.../File1 sourcetype=st_file1" on your SPL to restrict the search to only this file and then it will be more efficiently.&lt;/P&gt;&lt;P&gt;In generally splunk is not good for exclude things, it's much better to include (as you can see on docs). This affects also to performance. So try to use " a OR b OR c" instead of "NOT d".&lt;/P&gt;&lt;P&gt;Here is one more explanation, maybe little bit more detailed than what you are looking?&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-a-detailed-explanation-on-how-Splunk-search/m-p/110116" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Search/Where-can-I-find-a-detailed-explanation-on-how-Splunk-search/m-p/110116&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I couldn't found that Splunk_and_MapReduce.pdf anymore from splunk.com, but some copies seems to be available somewhere else. Does anyone known if this is still available also on splunk.com?&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 08:15:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-splunk-search-work/m-p/577858#M201366</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2021-12-09T08:15:38Z</dc:date>
    </item>
  </channel>
</rss>

