<?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: Circular dependency Issue in Data Model in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-there-Circular-dependency-Issue-in-Data-Model/m-p/589490#M205276</link>
    <description>&lt;P&gt;Tyr to use tstats and not "from datamodel" , also the&amp;nbsp; "&lt;SPAN&gt;Circular dependency Issue&lt;/SPAN&gt;" could happened if it encounters missing tsidx data.&lt;BR /&gt;&lt;BR /&gt;try using tstats with summariesonly=false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Mar 2022 10:28:02 GMT</pubDate>
    <dc:creator>jordan</dc:creator>
    <dc:date>2022-03-17T10:28:02Z</dc:date>
    <item>
      <title>Why is there Circular dependency Issue in Data Model?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-there-Circular-dependency-Issue-in-Data-Model/m-p/391405#M113961</link>
      <description>&lt;P&gt;Error: &lt;CODE&gt;Error in 'SearchProcessor': Found circular dependency when expanding from.Network_Traffic.All_Traffic&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Background: core is an index containing &lt;CODE&gt;{ipAddress, score}&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;When creating a data model with the following query: &lt;BR /&gt;`| union&lt;BR /&gt;[| from datamodel:"Network_Traffic.All_Traffic" | join type=left src_ip [search source=core | rename ipAddress AS src_ip] | rename src_ip as ip | stats latest(score) by ip | where score!="" and score!="null"]&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[| from datamodel:"Network_Traffic.All_Traffic" | join type=left dest_ip [search source=core | rename ipAddress AS dest_ip] | rename dest_ip as ip | stats latest(score) by ip | where score!="" and score!="null"]`
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I'm trying to lookup all &lt;CODE&gt;ipAddress&lt;/CODE&gt; from the &lt;CODE&gt;NetworkTraffic&lt;/CODE&gt; datamodel and map it with &lt;CODE&gt;score&lt;/CODE&gt; from the &lt;CODE&gt;core&lt;/CODE&gt; index.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 04:58:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-there-Circular-dependency-Issue-in-Data-Model/m-p/391405#M113961</guid>
      <dc:creator>kashz</dc:creator>
      <dc:date>2022-03-18T04:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Circular dependency Issue in Data Model</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-there-Circular-dependency-Issue-in-Data-Model/m-p/589490#M205276</link>
      <description>&lt;P&gt;Tyr to use tstats and not "from datamodel" , also the&amp;nbsp; "&lt;SPAN&gt;Circular dependency Issue&lt;/SPAN&gt;" could happened if it encounters missing tsidx data.&lt;BR /&gt;&lt;BR /&gt;try using tstats with summariesonly=false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 10:28:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-there-Circular-dependency-Issue-in-Data-Model/m-p/589490#M205276</guid>
      <dc:creator>jordan</dc:creator>
      <dc:date>2022-03-17T10:28:02Z</dc:date>
    </item>
  </channel>
</rss>

