<?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: Nested lookup search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Nested-lookup-search/m-p/598723#M208481</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/222210"&gt;@aasabatini&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the below SPL: -&lt;/P&gt;&lt;PRE&gt;| inputlookup table1.csv where index="xxx" | fields index, host &lt;BR /&gt;| search NOT [search index="xxx" | dedup host | table index, host]&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;I have table2.csv with following fields: -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;index, host, lastTime&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I need to search the results from above SPL based on host and index in table2.csv and get the corresponding value of the column: lastTime. Thus, as the final resultset, I need: - index, host,&amp;nbsp; lastTime.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help with your suggestions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Fri, 20 May 2022 19:43:45 GMT</pubDate>
    <dc:creator>Taruchit</dc:creator>
    <dc:date>2022-05-20T19:43:45Z</dc:date>
    <item>
      <title>Nested lookup search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Nested-lookup-search/m-p/550602#M156250</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi everyone,&amp;nbsp; I'm trying to get the following search work, but for some reason I'm doing something wrong:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;inputlookup events_lookup
| eval key = _key 
|search key in
[| inputlookup notable_events_lookup search name="tobedeleted" | fields - _time | fields event_id] 
|table key&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm basically trying to import event_id from a lookup ( notable_events_lookup) which is matching to another lookup (evets_lookup) in order to remove the matching event in the lookup (events_lookup)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I hope it makes sense what I'm trying to explain. Thanks everyone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 06:52:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Nested-lookup-search/m-p/550602#M156250</guid>
      <dc:creator>g_paternicola</dc:creator>
      <dc:date>2021-05-06T06:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Nested lookup search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Nested-lookup-search/m-p/550604#M156252</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/227231"&gt;@g_paternicola&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;inputlookup events_lookup
| eval key = _key 
| search [| inputlookup notable_events_lookup search name="tobedeleted" | fields - _time | rename event_id as key | fields key] 
|table key&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 06 May 2021 07:06:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Nested-lookup-search/m-p/550604#M156252</guid>
      <dc:creator>aasabatini</dc:creator>
      <dc:date>2021-05-06T07:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Nested lookup search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Nested-lookup-search/m-p/550606#M156253</link>
      <description>&lt;P&gt;Thanks a lot! it works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 07:14:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Nested-lookup-search/m-p/550606#M156253</guid>
      <dc:creator>g_paternicola</dc:creator>
      <dc:date>2021-05-06T07:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Nested lookup search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Nested-lookup-search/m-p/598723#M208481</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/222210"&gt;@aasabatini&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the below SPL: -&lt;/P&gt;&lt;PRE&gt;| inputlookup table1.csv where index="xxx" | fields index, host &lt;BR /&gt;| search NOT [search index="xxx" | dedup host | table index, host]&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;I have table2.csv with following fields: -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;index, host, lastTime&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I need to search the results from above SPL based on host and index in table2.csv and get the corresponding value of the column: lastTime. Thus, as the final resultset, I need: - index, host,&amp;nbsp; lastTime.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help with your suggestions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 19:43:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Nested-lookup-search/m-p/598723#M208481</guid>
      <dc:creator>Taruchit</dc:creator>
      <dc:date>2022-05-20T19:43:45Z</dc:date>
    </item>
  </channel>
</rss>

