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!

New This Month - Splunk Observability updates and improvements for faster ...

What’s New? This month, we’re delivering several enhancements across Splunk Observability Cloud for faster and ...

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

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