<?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 How to search based on multiple indexes and their respective sourceTypes in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-based-on-multiple-indexes-and-their-respective/m-p/700260#M237649</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have index called Index1 which has sourcetype called SourceType1 and another index called Index2 with sourceType called SourceType2.&lt;/P&gt;&lt;P&gt;Some data is in combination of Index1&amp;lt;-&amp;gt; SourceType1 and some data is in combination of Index2&amp;lt;-&amp;gt;SourceType2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I write a query that targets the correct index and sourceType?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2024 18:36:16 GMT</pubDate>
    <dc:creator>nainil0683</dc:creator>
    <dc:date>2024-09-26T18:36:16Z</dc:date>
    <item>
      <title>How to search based on multiple indexes and their respective sourceTypes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-based-on-multiple-indexes-and-their-respective/m-p/700260#M237649</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have index called Index1 which has sourcetype called SourceType1 and another index called Index2 with sourceType called SourceType2.&lt;/P&gt;&lt;P&gt;Some data is in combination of Index1&amp;lt;-&amp;gt; SourceType1 and some data is in combination of Index2&amp;lt;-&amp;gt;SourceType2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I write a query that targets the correct index and sourceType?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 18:36:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-based-on-multiple-indexes-and-their-respective/m-p/700260#M237649</guid>
      <dc:creator>nainil0683</dc:creator>
      <dc:date>2024-09-26T18:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to search based on multiple indexes and their respective sourceTypes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-based-on-multiple-indexes-and-their-respective/m-p/700261#M237650</link>
      <description>&lt;P&gt;Do you mean like this ?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(index=Index1 sourcetype=SourceType1) OR (index=Index2 sourcetype=SourceType2)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 18:48:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-based-on-multiple-indexes-and-their-respective/m-p/700261#M237650</guid>
      <dc:creator>sainag_splunk</dc:creator>
      <dc:date>2024-09-26T18:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to search based on multiple indexes and their respective sourceTypes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-based-on-multiple-indexes-and-their-respective/m-p/700263#M237652</link>
      <description>&lt;P&gt;Yes, exactly like this.&lt;/P&gt;&lt;P&gt;I was beating around the bushes, but this one works perfectly.&lt;/P&gt;&lt;P&gt;Thanks a lot&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/187813"&gt;@sainag_splunk&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 18:54:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-based-on-multiple-indexes-and-their-respective/m-p/700263#M237652</guid>
      <dc:creator>nainil0683</dc:creator>
      <dc:date>2024-09-26T18:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to search based on multiple indexes and their respective sourceTypes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-based-on-multiple-indexes-and-their-respective/m-p/700265#M237653</link>
      <description>&lt;P&gt;Glad it was helpful.&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;If this reply helps you an upvote and "Accept as Solution" is appreciated.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Sep 2024 19:03:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-based-on-multiple-indexes-and-their-respective/m-p/700265#M237653</guid>
      <dc:creator>sainag_splunk</dc:creator>
      <dc:date>2024-09-26T19:03:36Z</dc:date>
    </item>
  </channel>
</rss>

