<?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 use join with data model? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-join-with-data-model/m-p/215044#M63042</link>
    <description>&lt;P&gt;You can do this without join itself (and it'll be much efficient)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats `summariesonly`  dc(All_Traffic.src) as src from datamodel=Network_Traffic where All_Traffic.src_zone=outside All_Traffic.app!=incomplete All_Traffic.action=dropped OR All_Traffic.action=blocked [|inputlookup Denied_traffic.csv | table fieldInLookup | rename fieldInLookup as "All_Traffic.src] by All_Traffic.src
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 05 Jan 2017 15:53:33 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2017-01-05T15:53:33Z</dc:date>
    <item>
      <title>How to use join with data model?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-join-with-data-model/m-p/215043#M63041</link>
      <description>&lt;P&gt;I have tried using join to detect the common field from lookup but i need not find the fields that are not present using data model query.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup Denied_traffic.csv |  join type=inner All_Traffic.src[| tstats `summariesonly`  dc(All_Traffic.src) as src from datamodel=Network_Traffic where All_Traffic.src_zone=outside All_Traffic.app!=incomplete All_Traffic.action=dropped OR All_Traffic.action=blocked by All_Traffic.src]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Jan 2017 14:53:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-join-with-data-model/m-p/215043#M63041</guid>
      <dc:creator>prajesh</dc:creator>
      <dc:date>2017-01-05T14:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to use join with data model?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-join-with-data-model/m-p/215044#M63042</link>
      <description>&lt;P&gt;You can do this without join itself (and it'll be much efficient)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats `summariesonly`  dc(All_Traffic.src) as src from datamodel=Network_Traffic where All_Traffic.src_zone=outside All_Traffic.app!=incomplete All_Traffic.action=dropped OR All_Traffic.action=blocked [|inputlookup Denied_traffic.csv | table fieldInLookup | rename fieldInLookup as "All_Traffic.src] by All_Traffic.src
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Jan 2017 15:53:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-join-with-data-model/m-p/215044#M63042</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-01-05T15:53:33Z</dc:date>
    </item>
  </channel>
</rss>

