<?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 filter with join ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-filter-with-join/m-p/340002#M100827</link>
    <description>&lt;P&gt;I'm so stupid ! &lt;/P&gt;

&lt;P&gt;Thanks Somesoni2&lt;/P&gt;</description>
    <pubDate>Thu, 20 Apr 2017 16:36:58 GMT</pubDate>
    <dc:creator>Abarny</dc:creator>
    <dc:date>2017-04-20T16:36:58Z</dc:date>
    <item>
      <title>How filter with join ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-filter-with-join/m-p/339996#M100821</link>
      <description>&lt;P&gt;hi guys,&lt;BR /&gt;
 I want to filter my request where when logs{}.newStateId!=5 i recover the projects{}.id but this &lt;CODE&gt;join&lt;/CODE&gt; isn't match and give all projects{}.id . I can't see projects{}.icma cause it takes the values on the first &lt;CODE&gt;join&lt;/CODE&gt; and i would have all projects{}.icma by projects{}.id.&lt;/P&gt;

&lt;P&gt;Can you tell me what wrong on my request :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="gtav2_projects"    
|fields projects{}.id, projects{}.client.name,projects{}.icma
| stats list(projects{}.id) as projet by projects{}.client.name 
| join[search index="gtav2_projects" projects{}.icma="xxx"]
| join [search index="gta_projets" logs{}.newStateId!=5 
|fields logs{}.projectId 
| rename logs{}.projectId as 'projet' ]
|rename projects{}.client.name as Client|table Client, projet, projects{}.icma
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks you very much for your answers,&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 15:14:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-filter-with-join/m-p/339996#M100821</guid>
      <dc:creator>Abarny</dc:creator>
      <dc:date>2017-04-20T15:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: How filter with join ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-filter-with-join/m-p/339997#M100822</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="gtav2_projects"    [search index="gta_projets" logs{}.newStateId!=5 
 |fields logs{}.projectId ]
| stats list(projects{}.id) as projet by projects{}.client.name 
 | join[search index="gtav2_projects" projects{}.icma="xxx"]
|rename projects{}.client.name as Client|table Client, projet, projects{}.icma
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 Apr 2017 15:34:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-filter-with-join/m-p/339997#M100822</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-04-20T15:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: How filter with join ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-filter-with-join/m-p/339998#M100823</link>
      <description>&lt;P&gt;It's okay but i don't have projects{}.icma. I have just xxx and 1 ICMA = 1 projectId.  Do you know how i can do that ?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 15:47:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-filter-with-join/m-p/339998#M100823</guid>
      <dc:creator>Abarny</dc:creator>
      <dc:date>2017-04-20T15:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: How filter with join ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-filter-with-join/m-p/339999#M100824</link>
      <description>&lt;P&gt;So you want to exclude projects which has &lt;CODE&gt;projects{}.icma="xxx"&lt;/CODE&gt; Or only include those?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 16:11:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-filter-with-join/m-p/339999#M100824</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-04-20T16:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: How filter with join ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-filter-with-join/m-p/340000#M100825</link>
      <description>&lt;P&gt;I want find all project about this Client. With &lt;CODE&gt;projects{}.icma="xxx"&lt;/CODE&gt; I find Client, I recover all &lt;CODE&gt;projectId&lt;/CODE&gt; about this Client and i would all &lt;CODE&gt;projects{}.icma&lt;/CODE&gt; because each &lt;CODE&gt;projectId&lt;/CODE&gt; has an &lt;CODE&gt;icma&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Thanks you for your answer&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 16:28:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-filter-with-join/m-p/340000#M100825</guid>
      <dc:creator>Abarny</dc:creator>
      <dc:date>2017-04-20T16:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: How filter with join ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-filter-with-join/m-p/340001#M100826</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="gtav2_projects"    [search index="gta_projets" logs{}.newStateId!=5 
  |fields logs{}.projectId ]
  | join[search index="gtav2_projects" projects{}.icma="xxx"]
 | stats list(projects{}.id) as projet list(projects{}.icma) as icma by projects{}.client.name 
 |rename projects{}.client.name as Client|table Client, projet, projects{}.icma
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 Apr 2017 16:34:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-filter-with-join/m-p/340001#M100826</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-04-20T16:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: How filter with join ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-filter-with-join/m-p/340002#M100827</link>
      <description>&lt;P&gt;I'm so stupid ! &lt;/P&gt;

&lt;P&gt;Thanks Somesoni2&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 16:36:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-filter-with-join/m-p/340002#M100827</guid>
      <dc:creator>Abarny</dc:creator>
      <dc:date>2017-04-20T16:36:58Z</dc:date>
    </item>
  </channel>
</rss>

