<?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 datamodel command for multilevel data model child datasets in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/datamodel-command-for-multilevel-data-model-child-datasets/m-p/350005#M2966</link>
    <description>&lt;P&gt;I want to run datamodel command to fetch the results from a child dataset which is part of a datamodel as shown in the attached screenshot. I am using the below query. But unfortunately it's not returning error. Can anybody please help me write the correct query for multilevel child dataset.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| datamodel Windows_Security_Event_Management Windows_Security_Events Account_Management_Events search
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Error message:&lt;BR /&gt;
    Error in 'datamodel' command: Invalid argument: 'search'&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4544iAB104247010C474B/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Mar 2018 05:47:29 GMT</pubDate>
    <dc:creator>rajim</dc:creator>
    <dc:date>2018-03-15T05:47:29Z</dc:date>
    <item>
      <title>datamodel command for multilevel data model child datasets</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/datamodel-command-for-multilevel-data-model-child-datasets/m-p/350005#M2966</link>
      <description>&lt;P&gt;I want to run datamodel command to fetch the results from a child dataset which is part of a datamodel as shown in the attached screenshot. I am using the below query. But unfortunately it's not returning error. Can anybody please help me write the correct query for multilevel child dataset.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| datamodel Windows_Security_Event_Management Windows_Security_Events Account_Management_Events search
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Error message:&lt;BR /&gt;
    Error in 'datamodel' command: Invalid argument: 'search'&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4544iAB104247010C474B/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 05:47:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/datamodel-command-for-multilevel-data-model-child-datasets/m-p/350005#M2966</guid>
      <dc:creator>rajim</dc:creator>
      <dc:date>2018-03-15T05:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: datamodel command for multilevel data model child datasets</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/datamodel-command-for-multilevel-data-model-child-datasets/m-p/350006#M2967</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;Can you try :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | datamodel Windows_Security_Event_Management Account_Management_Events search
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 18 Mar 2018 05:12:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/datamodel-command-for-multilevel-data-model-child-datasets/m-p/350006#M2967</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-03-18T05:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: datamodel command for multilevel data model child datasets</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/datamodel-command-for-multilevel-data-model-child-datasets/m-p/350007#M2968</link>
      <description>&lt;P&gt;Yes it's working. Thank you.&lt;/P&gt;

&lt;P&gt;So we don't need to refer the parent datamodel. right?&lt;BR /&gt;
Also if I have another child data model of Account_Management_Events, then also is it fine to refer that data model after the data model id?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:31:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/datamodel-command-for-multilevel-data-model-child-datasets/m-p/350007#M2968</guid>
      <dc:creator>rajim</dc:creator>
      <dc:date>2020-09-29T18:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: datamodel command for multilevel data model child datasets</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/datamodel-command-for-multilevel-data-model-child-datasets/m-p/350008#M2969</link>
      <description>&lt;P&gt;Yes you can directly search after datamodel name, because according to documents &lt;CODE&gt;datamodel&lt;/CODE&gt; command only take 1 dataset name. Refer this doc:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.2/SearchReference/Datamodel"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.2/SearchReference/Datamodel&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Mar 2018 05:43:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/datamodel-command-for-multilevel-data-model-child-datasets/m-p/350008#M2969</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-03-18T05:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: datamodel command for multilevel data model child datasets</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/datamodel-command-for-multilevel-data-model-child-datasets/m-p/350009#M2970</link>
      <description>&lt;P&gt;Thank you...&lt;BR /&gt;
I had seen that document. there is "[ ]"  enclosing the data set in that document. So I thought there might be multiple datasets. Anyway, thank you for your answer.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Mar 2018 05:49:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/datamodel-command-for-multilevel-data-model-child-datasets/m-p/350009#M2970</guid>
      <dc:creator>rajim</dc:creator>
      <dc:date>2018-03-18T05:49:04Z</dc:date>
    </item>
  </channel>
</rss>

