<?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 How to use 2 columns in one join search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-2-columns-in-one-join-search/m-p/665833#M228452</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a query that trigger when a user has been added to a specific types of groups.&lt;/P&gt;&lt;P&gt;The query depends on lookup with 2 columns inside (one for group_name, Another for Severity).&lt;/P&gt;&lt;P&gt;I want to find any event of adding to one of the monitored groups, But also to enrich my final table with the severity right next to the group_name.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;I have tried to resolve this using:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;| join type=left group_name&lt;BR /&gt;[| inputlookup my_list.csv]&lt;BR /&gt;| where isnotnull(Severity)&lt;/P&gt;&lt;P&gt;But somehow only 2 groups with low severity is being found even though all the groups in the list has its own severity.&lt;/P&gt;&lt;P&gt;How can I managed to make my table show the group with its severity?&lt;/P&gt;</description>
    <pubDate>Mon, 23 Oct 2023 10:41:00 GMT</pubDate>
    <dc:creator>Eyal</dc:creator>
    <dc:date>2023-10-23T10:41:00Z</dc:date>
    <item>
      <title>How to use 2 columns in one join search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-2-columns-in-one-join-search/m-p/665833#M228452</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a query that trigger when a user has been added to a specific types of groups.&lt;/P&gt;&lt;P&gt;The query depends on lookup with 2 columns inside (one for group_name, Another for Severity).&lt;/P&gt;&lt;P&gt;I want to find any event of adding to one of the monitored groups, But also to enrich my final table with the severity right next to the group_name.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;I have tried to resolve this using:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;| join type=left group_name&lt;BR /&gt;[| inputlookup my_list.csv]&lt;BR /&gt;| where isnotnull(Severity)&lt;/P&gt;&lt;P&gt;But somehow only 2 groups with low severity is being found even though all the groups in the list has its own severity.&lt;/P&gt;&lt;P&gt;How can I managed to make my table show the group with its severity?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 10:41:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-2-columns-in-one-join-search/m-p/665833#M228452</guid>
      <dc:creator>Eyal</dc:creator>
      <dc:date>2023-10-23T10:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 columns in one join search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-2-columns-in-one-join-search/m-p/665836#M228453</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/254045"&gt;@Eyal&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;for joinining a lookup you don't need the join command that anyway shoud be avoided all the times and used only when there isn't any other solution.&lt;/P&gt;&lt;P&gt;You can use the lookup command that's a left join, something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;your_search&amp;gt;
| lookup my_list.csv group_name OUTPUT Severity
| where isnotnull(Severity)&lt;/LI-CODE&gt;&lt;P&gt;if the field to use gor joining is different beteen the main swarch and the lookup, you can use AS.&lt;/P&gt;&lt;P&gt;for more infos see at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.1/SearchReference/Lookup" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.1/SearchReference/Lookup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 11:58:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-2-columns-in-one-join-search/m-p/665836#M228453</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-10-23T11:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 columns in one join search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-2-columns-in-one-join-search/m-p/666103#M228514</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Giuseppe thank you for your help it worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 08:08:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-2-columns-in-one-join-search/m-p/666103#M228514</guid>
      <dc:creator>Eyal</dc:creator>
      <dc:date>2023-10-25T08:08:36Z</dc:date>
    </item>
  </channel>
</rss>

