Dashboards & Visualizations

NotImplementedError: Cannot find object mapper for panel type: form

Yancy
Path Finder

When attempting to make a Simple Form Search using the Developer Manual documentation, I encounter the error:

NotImplementedError: Cannot find object mapper for panel type: form

I'm confused as to what I may be missing here? Here is the XML that I'm building my view with. I'm running 4.0.8

<?xml version='1.0' encoding='utf-8'?>
<dashboard>
<label>Form search test</label>
<row>
   <form>
   <label>My form search</label>
   <searchTemplate>$ipaddress$</searchTemplate>
   <fieldset>
      <input type="text" token="ipaddress" />
   </fieldset>
  </form>
</row>
</dashboard>
Tags (2)
0 Karma
1 Solution

Johnvey
Contributor

The top level tag should be <form>, like:

<form>
    <label>Form search test</label>
    <searchTemplate>$ipaddress$</searchTemplate>
    <fieldset>
        <input type="text" token="ipaddress" />
    </fieldset>
</form>

Now, you'll want something to show the results of your search so you need to add some kind of output. For example, if you want to see the raw events:

<form>
    <label>Form search test</label>
    <searchTemplate>$ipaddress$</searchTemplate>
    <fieldset>
        <input type="text" token="ipaddress" />
    </fieldset>
    <row>
        <event />
    </row>
</form>

For a full description of available tags in form searches, see: http://www.splunk.com/base/Documentation/4.1/Developer/FormIntro

View solution in original post

Johnvey
Contributor

The top level tag should be <form>, like:

<form>
    <label>Form search test</label>
    <searchTemplate>$ipaddress$</searchTemplate>
    <fieldset>
        <input type="text" token="ipaddress" />
    </fieldset>
</form>

Now, you'll want something to show the results of your search so you need to add some kind of output. For example, if you want to see the raw events:

<form>
    <label>Form search test</label>
    <searchTemplate>$ipaddress$</searchTemplate>
    <fieldset>
        <input type="text" token="ipaddress" />
    </fieldset>
    <row>
        <event />
    </row>
</form>

For a full description of available tags in form searches, see: http://www.splunk.com/base/Documentation/4.1/Developer/FormIntro

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...