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!

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...