<?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: errormessage &amp;quot;JSON file contents not available.&amp;quot; when configure DM in different apps in Security</title>
    <link>https://community.splunk.com/t5/Security/errormessage-quot-JSON-file-contents-not-available-quot-when/m-p/501987#M11445</link>
    <description>&lt;P&gt;This does not work; I, too, tried and failed to do similar with the CIM, and had the same problems.  The best that you can do is create a soft or had link from the other app to the JSON in the source app, but this will break if you are using the DS to push.  You can create a &lt;CODE&gt;P0&lt;/CODE&gt; support ticket which Splunk considers an &lt;CODE&gt;Enhancement Request&lt;/CODE&gt; but do not expect much to happen.a&lt;/P&gt;</description>
    <pubDate>Thu, 17 Oct 2019 16:16:12 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2019-10-17T16:16:12Z</dc:date>
    <item>
      <title>errormessage "JSON file contents not available." when configure DM in different apps</title>
      <link>https://community.splunk.com/t5/Security/errormessage-quot-JSON-file-contents-not-available-quot-when/m-p/501986#M11444</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I want to configure a Datamodel in different apps. On app should define the datamodel (here search). The seconds app should (here: dm_acc) should define schedule and acceleration. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;andreas@art-mb-2.local:~/splunk/etc/apps$ cat search/metadata/local.meta

[datamodels/metricbeat]
access = read : [ * ], write : [ admin ]
owner = testuser

[models/metricbeat]
access = read : [ * ], write : [ admin ]
owner = testuser

andreas@art-mb-2.local:~/splunk/etc/apps$ cat search/local/datamodels.conf​
[metricbeat]
#acceleration = true
#acceleration.earliest_time = 0
acceleration.hunk.dfs_block_size = 0

andreas@art-mb-2.local:~/splunk/etc/apps/dm_acc$ cat default/datamodels.conf
[metricbeat]
acceleration = true
acceleration.earliest_time = 0
acceleration.cron_schedule = * * * * *

andreas@art-mb-2.local:~/splunk/etc/apps/dm_acc$ cat metadata/local.meta
[]
access = read : [ * ], write : [ admin ]
export = system
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;this seems to work fine so far. I can query the DM using&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats summariesonly=t count values(host) from datamodel=metricbeat
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Unfurtunaly I'm receiving an error message: "Error in data model "metricbeat" : JSON file contents not available." when using the WebGUI and access Datamodels.&lt;/P&gt;

&lt;P&gt;Any hint's?! Does this look like a GUI bug?!&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 12:05:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/errormessage-quot-JSON-file-contents-not-available-quot-when/m-p/501986#M11444</guid>
      <dc:creator>schose</dc:creator>
      <dc:date>2019-10-15T12:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: errormessage "JSON file contents not available." when configure DM in different apps</title>
      <link>https://community.splunk.com/t5/Security/errormessage-quot-JSON-file-contents-not-available-quot-when/m-p/501987#M11445</link>
      <description>&lt;P&gt;This does not work; I, too, tried and failed to do similar with the CIM, and had the same problems.  The best that you can do is create a soft or had link from the other app to the JSON in the source app, but this will break if you are using the DS to push.  You can create a &lt;CODE&gt;P0&lt;/CODE&gt; support ticket which Splunk considers an &lt;CODE&gt;Enhancement Request&lt;/CODE&gt; but do not expect much to happen.a&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 16:16:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/errormessage-quot-JSON-file-contents-not-available-quot-when/m-p/501987#M11445</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-10-17T16:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: errormessage "JSON file contents not available." when configure DM in different apps</title>
      <link>https://community.splunk.com/t5/Security/errormessage-quot-JSON-file-contents-not-available-quot-when/m-p/504005#M11520</link>
      <description>&lt;P&gt;The default datamodel.conf has a comment at the top of the page referencing a bug which seems to be fixed in a really old version of splunk..&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;## per SPL-66827: data models and their acceleration params (datamodels.conf) must live in the same app&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the error messages you get in the UI, when you click the next page or the dropdown to show more datamodels, the error message goes away.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error in data model "&amp;lt;DATAMODEL&amp;gt;" : JSON file contents not available.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 21:10:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/errormessage-quot-JSON-file-contents-not-available-quot-when/m-p/504005#M11520</guid>
      <dc:creator>caseyp_splunk</dc:creator>
      <dc:date>2020-06-11T21:10:37Z</dc:date>
    </item>
  </channel>
</rss>

