<?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 check value of my search present in which lookup table in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-value-of-my-search-present-in-which-lookup-table/m-p/616091#M214099</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/192276"&gt;@akshayinnamuri&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please try something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;your_search&amp;gt;
| lookup watchlist_A.csv user OUTPUT number AS number_watchlist_A.csv
| lookup watchlist_B.csv user OUTPUT number AS number_watchlist_B.csv
| lookup watchlist_C.csv user OUTPUT number AS number_watchlist_C.csv
| lookup watchlist_D.csv user OUTPUT number AS number_watchlist_D.csv
| table user number_watchlist_A.csv number_watchlist_B.csv number_watchlist_C.csv number_watchlist_D.csv&lt;/LI-CODE&gt;&lt;P&gt;Then, if you likem you can also put a status message (using eval) to indicate if some lookup is missing.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;giuseppe&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2022 06:45:36 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-10-06T06:45:36Z</dc:date>
    <item>
      <title>How to check value of my search present in which lookup table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-value-of-my-search-present-in-which-lookup-table/m-p/616086#M214094</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;I am looking for query where say for example user=xyz which is present in multiple watchlists [watchlist_A.csv, &lt;SPAN&gt;watchlist_B.csv,&amp;nbsp;watchlist_C.csv,&amp;nbsp;watchlist_D.csv&lt;/SPAN&gt;] and not present in&amp;nbsp;&lt;SPAN&gt;watchlist_E.csv,&amp;nbsp;watchlist_F.csv&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;watchlist have columns&lt;BR /&gt;[ number, user, date ]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1, xyz, 01022000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 2, abc, 02022000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;I am looking for query to use multiple watchlist and find value of my search say user=abc when queried should show a table as below&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;user, watchlistNames&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If result is present in multiple table it should give me the watclistnames&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;where my search is user=abc and is present in&amp;nbsp;watchlist_A.csv,&amp;nbsp;watchlist_B.csv,&amp;nbsp;watchlist_C.csv,&amp;nbsp;watchlist_D.csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;so my query result should be &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;user, Watchlistnames&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;abc,watchlist_A.csv,&amp;nbsp;watchlist_B.csv,&amp;nbsp;watchlist_C.csv,&amp;nbsp;watchlist_D.csv&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 06:31:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-value-of-my-search-present-in-which-lookup-table/m-p/616086#M214094</guid>
      <dc:creator>akshayinnamuri</dc:creator>
      <dc:date>2022-10-06T06:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to check value of my search present in which lookup table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-value-of-my-search-present-in-which-lookup-table/m-p/616091#M214099</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/192276"&gt;@akshayinnamuri&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please try something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;your_search&amp;gt;
| lookup watchlist_A.csv user OUTPUT number AS number_watchlist_A.csv
| lookup watchlist_B.csv user OUTPUT number AS number_watchlist_B.csv
| lookup watchlist_C.csv user OUTPUT number AS number_watchlist_C.csv
| lookup watchlist_D.csv user OUTPUT number AS number_watchlist_D.csv
| table user number_watchlist_A.csv number_watchlist_B.csv number_watchlist_C.csv number_watchlist_D.csv&lt;/LI-CODE&gt;&lt;P&gt;Then, if you likem you can also put a status message (using eval) to indicate if some lookup is missing.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 06:45:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-value-of-my-search-present-in-which-lookup-table/m-p/616091#M214099</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-10-06T06:45:36Z</dc:date>
    </item>
  </channel>
</rss>

