Dashboards & Visualizations

basic form giving error: "NotImplementedError: Cannot find object mapper for panel type: form"

aadye
Explorer

I'm new to Splunk and using version 4.2.5 and trying to generate simple form, I receive the error: "NotImplementedError: Cannot find object mapper for panel type: form"

Could someone please shed some light for me?

My code is:
<?xml version='1.0' encoding='utf-8'?>

<dashboard>

<label>Testing with Pulldowns</label>

<row>

<form>

<label>Username</label>

<searchTemplate>

source=/path/to/alldata2.csv | search region = $region$

</searchTemplate>

<fieldset>

<input type="text" token="region" />

</fieldset>

<row>

<event>

<option name="count">100</option>

</event>

</row>

</form>

</row>

</dashboard>

</code>

Tags (1)
0 Karma
1 Solution

Drainy
Champion

Well a dashboard and a form are very different in the simple xml world, you've defined a dashboard and then tried to define a form inside of it. Just replace your tags with

tags and delete the other ones. e.g.

<?xml version='1.0' encoding='utf-8'?>
<form>
<label>Testing with Pulldowns</label>
<row>

View solution in original post

0 Karma

Drainy
Champion

Well a dashboard and a form are very different in the simple xml world, you've defined a dashboard and then tried to define a form inside of it. Just replace your tags with

tags and delete the other ones. e.g.

<?xml version='1.0' encoding='utf-8'?>
<form>
<label>Testing with Pulldowns</label>
<row>
0 Karma
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 ...