<?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: selecting two source files at a time in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/selecting-two-source-files-at-a-time/m-p/59336#M11689</link>
    <description>&lt;P&gt;&lt;CODE&gt;source="sourceA" source="sourceB"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;is equivalent to &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;source="sourceA" AND source="sourceB"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Because your events are very unlikely to be in the sourceA and the sourceB at the same time.&lt;/P&gt;

&lt;P&gt;You should use OR instead of AND.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;source="sourceA" OR source="sourceB"&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Dec 2012 19:42:20 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2012-12-25T19:42:20Z</dc:date>
    <item>
      <title>selecting two source files at a time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/selecting-two-source-files-at-a-time/m-p/59334#M11687</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;

&lt;P&gt;In the search bar i want to use two source files and to see the events of the two files &lt;/P&gt;

&lt;P&gt;below is the query i have used&lt;/P&gt;

&lt;P&gt;source="E:\pros_data\taskmanager_log (2).txt" "E:\pros_data\taskmanager_log.txt"&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://splunk-base.splunk.com//storage/SOURCE.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;i am getting no results found&lt;/P&gt;

&lt;P&gt;please give inputs&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:56:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/selecting-two-source-files-at-a-time/m-p/59334#M11687</guid>
      <dc:creator>splunkpoornima</dc:creator>
      <dc:date>2020-09-28T12:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: selecting two source files at a time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/selecting-two-source-files-at-a-time/m-p/59335#M11688</link>
      <description>&lt;P&gt;That is simply incorrect search syntax. You should take the Splunk tutorial to learn the basics, particularly the &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Tutorial/Startsearching"&gt;Start searching&lt;/A&gt; section.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2012 08:19:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/selecting-two-source-files-at-a-time/m-p/59335#M11688</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-12-11T08:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: selecting two source files at a time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/selecting-two-source-files-at-a-time/m-p/59336#M11689</link>
      <description>&lt;P&gt;&lt;CODE&gt;source="sourceA" source="sourceB"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;is equivalent to &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;source="sourceA" AND source="sourceB"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Because your events are very unlikely to be in the sourceA and the sourceB at the same time.&lt;/P&gt;

&lt;P&gt;You should use OR instead of AND.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;source="sourceA" OR source="sourceB"&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Dec 2012 19:42:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/selecting-two-source-files-at-a-time/m-p/59336#M11689</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-12-25T19:42:20Z</dc:date>
    </item>
  </channel>
</rss>

