<?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: Data Model Query in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Data-Model-Query/m-p/226444#M1979</link>
    <description>&lt;P&gt;It should be simple:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats summariesonly=t count from datamodel=Network_Traffic where * by All_Traffic.dest All_Traffic.src | search [| inputlookup Ip.csv | rename Ip as All_Traffic.dest | fields All_Traffic.dest ] | sort - count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 12 Aug 2016 13:44:59 GMT</pubDate>
    <dc:creator>reed_kelly</dc:creator>
    <dc:date>2016-08-12T13:44:59Z</dc:date>
    <item>
      <title>Data Model Query</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Data-Model-Query/m-p/226441#M1976</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt;

&lt;P&gt;Kindly help to modify Query on Data Model,  I have built the query. &lt;/P&gt;

&lt;P&gt;| tstats &lt;CODE&gt;summariesonly&lt;/CODE&gt;  dc(All_Traffic.src) as src_count from datamodel=Network_Traffic where *  by All_Traffic.dest  | search [| inputlookup Ip.csv | rename Ip as All_Traffic.dest | fields All_Traffic.dest ] | sort -src_count&lt;/P&gt;

&lt;P&gt;Above Query display the &lt;STRONG&gt;Dest IP and Count&lt;/STRONG&gt; (Dest IP which matches with Network Traffic and CSV , Result will be displayed) , Also in my Ip.Csv there is field Ip , So i rename to All_Traffic.dest to match the value . Till now everything is fine , Now i am looking for result : &lt;STRONG&gt;Src IP , Dest IP and Count&lt;/STRONG&gt;  .&lt;/P&gt;

&lt;P&gt;Note: I am only comparing Dest IP with CSV no other field.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:36:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Data-Model-Query/m-p/226441#M1976</guid>
      <dc:creator>sumitkathpal</dc:creator>
      <dc:date>2020-09-29T10:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model Query</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Data-Model-Query/m-p/226442#M1977</link>
      <description>&lt;P&gt;What is your new query and what error are you having now?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 19:52:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Data-Model-Query/m-p/226442#M1977</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-08-11T19:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model Query</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Data-Model-Query/m-p/226443#M1978</link>
      <description>&lt;P&gt;Thanks, I am not getting the errors , above query give the information about incoming ip address  hitting on firewall matches with lookup file. I am getting the out Src IP (Matched IP from Lookup) and Count. Now i want to see Src IP , Count and Dest Ip .&lt;BR /&gt;&lt;BR /&gt;
Above Query will give provide below output.&lt;BR /&gt;
Src IP            Src_Count&lt;BR /&gt;
10.10.10.10   5&lt;BR /&gt;
But i need output:&lt;/P&gt;

&lt;P&gt;Src IP                  Dest Ip         Src_Count&lt;BR /&gt;
10.10.10.10           x.x.x.x               2&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 09:03:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Data-Model-Query/m-p/226443#M1978</guid>
      <dc:creator>sumitkathpal</dc:creator>
      <dc:date>2016-08-12T09:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model Query</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Data-Model-Query/m-p/226444#M1979</link>
      <description>&lt;P&gt;It should be simple:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats summariesonly=t count from datamodel=Network_Traffic where * by All_Traffic.dest All_Traffic.src | search [| inputlookup Ip.csv | rename Ip as All_Traffic.dest | fields All_Traffic.dest ] | sort - count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Aug 2016 13:44:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Data-Model-Query/m-p/226444#M1979</guid>
      <dc:creator>reed_kelly</dc:creator>
      <dc:date>2016-08-12T13:44:59Z</dc:date>
    </item>
  </channel>
</rss>

