<?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 can i use the or condition in lookups ?? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/can-i-use-the-or-condition-in-lookups/m-p/97853#M25251</link>
    <description>&lt;P&gt;Hi..&lt;/P&gt;

&lt;P&gt;My Keyword , value&lt;BR /&gt;
ABC           A &lt;BR /&gt;
ABC           B&lt;BR /&gt;
ABC           C&lt;BR /&gt;
XYZ           D&lt;/P&gt;

&lt;P&gt;These are the values that i have in lookup table..for the values "A","B",and "C" i have to replace with keyword "ABC" ..Now suppose value "A" has 10 occurences , "B" has 5 occurences and "C" has 2 occurences..&lt;/P&gt;

&lt;P&gt;When i use the top command with the  Mykeyword .it has to show the following stats for me..&lt;BR /&gt;
say ..&lt;/P&gt;

&lt;P&gt;ABC  17  (here 17 is the summation of 10 ,5 and 2 )&lt;BR /&gt;
XYZ  (some value)&lt;/P&gt;

&lt;P&gt;how can i do this ???  Is it possible to give a OR condition in lookup table ??&lt;/P&gt;

&lt;P&gt;Please help .. &lt;/P&gt;</description>
    <pubDate>Mon, 22 Oct 2012 10:02:12 GMT</pubDate>
    <dc:creator>rakesh_498115</dc:creator>
    <dc:date>2012-10-22T10:02:12Z</dc:date>
    <item>
      <title>can i use the or condition in lookups ??</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-i-use-the-or-condition-in-lookups/m-p/97853#M25251</link>
      <description>&lt;P&gt;Hi..&lt;/P&gt;

&lt;P&gt;My Keyword , value&lt;BR /&gt;
ABC           A &lt;BR /&gt;
ABC           B&lt;BR /&gt;
ABC           C&lt;BR /&gt;
XYZ           D&lt;/P&gt;

&lt;P&gt;These are the values that i have in lookup table..for the values "A","B",and "C" i have to replace with keyword "ABC" ..Now suppose value "A" has 10 occurences , "B" has 5 occurences and "C" has 2 occurences..&lt;/P&gt;

&lt;P&gt;When i use the top command with the  Mykeyword .it has to show the following stats for me..&lt;BR /&gt;
say ..&lt;/P&gt;

&lt;P&gt;ABC  17  (here 17 is the summation of 10 ,5 and 2 )&lt;BR /&gt;
XYZ  (some value)&lt;/P&gt;

&lt;P&gt;how can i do this ???  Is it possible to give a OR condition in lookup table ??&lt;/P&gt;

&lt;P&gt;Please help .. &lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2012 10:02:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-i-use-the-or-condition-in-lookups/m-p/97853#M25251</guid>
      <dc:creator>rakesh_498115</dc:creator>
      <dc:date>2012-10-22T10:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: can i use the or condition in lookups ??</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-i-use-the-or-condition-in-lookups/m-p/97854#M25252</link>
      <description>&lt;P&gt;Why not do &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | top myKeyword by value
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;instead of &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;.... | top myKeyword
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, it would be helpful if you showed your exact searches, and possibly a sample of some "real" data. This is a bit abstract and difficult to follow. So my answer is just a guess.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2012 21:00:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-i-use-the-or-condition-in-lookups/m-p/97854#M25252</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-10-22T21:00:41Z</dc:date>
    </item>
  </channel>
</rss>

