<?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 to search two different values in different text files which has same index? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-different-values-in-different-text-files-which/m-p/159591#M185918</link>
    <description>&lt;P&gt;Then:&lt;/P&gt;

&lt;P&gt;index=main (source="source1" OR source="source2") 123&lt;/P&gt;

&lt;P&gt;Is this what you are looking for?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Nov 2013 11:19:26 GMT</pubDate>
    <dc:creator>gfuente</dc:creator>
    <dc:date>2013-11-28T11:19:26Z</dc:date>
    <item>
      <title>How to search two different values in different text files which has same index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-different-values-in-different-text-files-which/m-p/159588#M185915</link>
      <description>&lt;P&gt;How to search two different values both the values are in different text files which has the same index and the final output want to route to a different txt file.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2013 10:40:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-different-values-in-different-text-files-which/m-p/159588#M185915</guid>
      <dc:creator>gladiatorankit</dc:creator>
      <dc:date>2013-11-28T10:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to search two different values in different text files which has same index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-different-values-in-different-text-files-which/m-p/159589#M185916</link>
      <description>&lt;P&gt;Something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="commonindex" (source="source1" field1="value1") OR (source="source2" field1="value2")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;???&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2013 10:49:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-different-values-in-different-text-files-which/m-p/159589#M185916</guid>
      <dc:creator>gfuente</dc:creator>
      <dc:date>2013-11-28T10:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to search two different values in different text files which has same index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-different-values-in-different-text-files-which/m-p/159590#M185917</link>
      <description>&lt;P&gt;Well this is exactly not working. I can only search for one value how will I search for another one?&lt;BR /&gt;
My search :-&lt;BR /&gt;
index=main source="F:\123.txt" 123 &lt;BR /&gt;
But what if I want to add one more different source and search in that too?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2013 11:16:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-different-values-in-different-text-files-which/m-p/159590#M185917</guid>
      <dc:creator>gladiatorankit</dc:creator>
      <dc:date>2013-11-28T11:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to search two different values in different text files which has same index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-different-values-in-different-text-files-which/m-p/159591#M185918</link>
      <description>&lt;P&gt;Then:&lt;/P&gt;

&lt;P&gt;index=main (source="source1" OR source="source2") 123&lt;/P&gt;

&lt;P&gt;Is this what you are looking for?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2013 11:19:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-different-values-in-different-text-files-which/m-p/159591#M185918</guid>
      <dc:creator>gfuente</dc:creator>
      <dc:date>2013-11-28T11:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to search two different values in different text files which has same index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-different-values-in-different-text-files-which/m-p/159592#M185919</link>
      <description>&lt;P&gt;I have two text files 123.txt and 456.txt and the values are 123 and 456 in the respective files. &lt;/P&gt;

&lt;P&gt;I want to search such that both the files should appear when searched using values "123" and "456" and I want the output "123456" in another file.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2013 11:26:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-different-values-in-different-text-files-which/m-p/159592#M185919</guid>
      <dc:creator>gladiatorankit</dc:creator>
      <dc:date>2013-11-28T11:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to search two different values in different text files which has same index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-different-values-in-different-text-files-which/m-p/159593#M185920</link>
      <description>&lt;P&gt;index=main (source="123.txt" "123") OR (source="456.txt" "456")&lt;/P&gt;

&lt;P&gt;Im sorry, but i don´t understand what you need.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2013 11:36:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-different-values-in-different-text-files-which/m-p/159593#M185920</guid>
      <dc:creator>gfuente</dc:creator>
      <dc:date>2013-11-28T11:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to search two different values in different text files which has same index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-different-values-in-different-text-files-which/m-p/159594#M185921</link>
      <description>&lt;P&gt;Yes this worked. Thanks alot. Actually I have 1 value in File A and another in File B. I want to combine the search result and route it to different file. Please tell me how should I route the result to different file?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2013 11:40:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-different-values-in-different-text-files-which/m-p/159594#M185921</guid>
      <dc:creator>gladiatorankit</dc:creator>
      <dc:date>2013-11-28T11:40:41Z</dc:date>
    </item>
  </channel>
</rss>

