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!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...