<?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: Doing lookup in the same index without using lookup command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Doing-lookup-in-the-same-index-without-using-lookup-command/m-p/111525#M29217</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=main host=syslog status="start" OR status="accept" [search index=main host=syslog status="deny"| top src_IP | table src_IP | format "" "" "" "" "OR" ""]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 19 Jun 2014 15:27:28 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-06-19T15:27:28Z</dc:date>
    <item>
      <title>Doing lookup in the same index without using lookup command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Doing-lookup-in-the-same-index-without-using-lookup-command/m-p/111524#M29216</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
[index=main host=syslog status="deny"| top src_IP | table src_IP ]:::::this is my sub search.&lt;BR /&gt;
and it will produce top 10 src_IPs like below.&lt;BR /&gt;
10.0.0.0&lt;BR /&gt;&lt;BR /&gt;
10.0.0.1&lt;BR /&gt;
10.0.0.2&lt;BR /&gt;
10.0.0.3&lt;BR /&gt;
10.0.0.4&lt;BR /&gt;
10.0.0.5&lt;BR /&gt;
10.0.0.6&lt;BR /&gt;
10.0.0.7&lt;BR /&gt;
10.0.0.8&lt;BR /&gt;
10.0.0.9&lt;BR /&gt;
Now I want to check the status where status="start" OR status="accept" for the above src_IPs in the same index and host.&lt;/P&gt;

&lt;P&gt;Please help me in this..&lt;BR /&gt;
Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:53:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Doing-lookup-in-the-same-index-without-using-lookup-command/m-p/111524#M29216</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-28T16:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Doing lookup in the same index without using lookup command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Doing-lookup-in-the-same-index-without-using-lookup-command/m-p/111525#M29217</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=main host=syslog status="start" OR status="accept" [search index=main host=syslog status="deny"| top src_IP | table src_IP | format "" "" "" "" "OR" ""]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Jun 2014 15:27:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Doing-lookup-in-the-same-index-without-using-lookup-command/m-p/111525#M29217</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-06-19T15:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Doing lookup in the same index without using lookup command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Doing-lookup-in-the-same-index-without-using-lookup-command/m-p/111526#M29218</link>
      <description>&lt;P&gt;Thanks for ur immediate response.&lt;BR /&gt;
I tried that one but it is showing different src_IPs. The src_IPs not at all related to result of sub search.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:53:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Doing-lookup-in-the-same-index-without-using-lookup-command/m-p/111526#M29218</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-28T16:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Doing lookup in the same index without using lookup command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Doing-lookup-in-the-same-index-without-using-lookup-command/m-p/111527#M29219</link>
      <description>&lt;P&gt;Try the updated one.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2014 15:54:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Doing-lookup-in-the-same-index-without-using-lookup-command/m-p/111527#M29219</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-06-19T15:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Doing lookup in the same index without using lookup command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Doing-lookup-in-the-same-index-without-using-lookup-command/m-p/111528#M29220</link>
      <description>&lt;P&gt;Thanks.&lt;BR /&gt;
Im not in office.&lt;BR /&gt;
may I know why that format..&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2014 15:56:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Doing-lookup-in-the-same-index-without-using-lookup-command/m-p/111528#M29220</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2014-06-19T15:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Doing lookup in the same index without using lookup command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Doing-lookup-in-the-same-index-without-using-lookup-command/m-p/111529#M29221</link>
      <description>&lt;P&gt;This will create a consolidated single statement from results of subsearch (something like src_IP=value1 OR src_IP=value2...etc.  Ideally previous version of the search should've worked but something adding format does the trick.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:53:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Doing-lookup-in-the-same-index-without-using-lookup-command/m-p/111529#M29221</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-09-28T16:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Doing lookup in the same index without using lookup command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Doing-lookup-in-the-same-index-without-using-lookup-command/m-p/111530#M29222</link>
      <description>&lt;P&gt;Thank u soooo much. it worked.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2014 06:28:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Doing-lookup-in-the-same-index-without-using-lookup-command/m-p/111530#M29222</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2014-06-20T06:28:38Z</dc:date>
    </item>
  </channel>
</rss>

