Dashboards & Visualizations

Child module for timerange picker

appleman
Contributor

下記のように、simple XMLでダッシュボード上にTimerange Pickerのみを付け加えようとすると、"This view has a Splunk.Module.SubmitButton module but it is configured with no child modules to push its changes to. This represents a configuration error."というエラーがでてしまいます。
このエラーがでないダッシュボードもあるのですが、child moduleとして何を付け加えたらいいのかご教示下さい。

↓Simple XML example↓

<?xml version='1.0' encoding='utf-8'?>




※Click "device_type" to go to next page.




Last 24 hours


Hello,

I've created a dashboard with simple XML, and added timerange picker on it.
However, I got the following error; "This view has a Splunk.Module.SubmitButton module but it is configured with no child modules to push its changes to. This represents a configuration error."
I would like to know what kind of child module I need to put.

Thank you.

0 Karma
1 Solution

bananaman
Path Finder

XML全体はどのような構成でしょうか?

fieldset等 自体の構文は問題ないと思いますが、以下のような全体の構文にて確認する必要があります。

結果を表示する event等を含め、form を閉じる必要があるかと思われます。

以下のようなサンプルは近いイメージでしょうか?

下記コードのような構文では同様のエラーは発生しないようです。

<?xml version='1.0' encoding='utf-8'?>




Last 24 hours

<row>
<event>
<title>Event view</title>
<searchString>index=_internal </searchString>
    <option name="showPager">true</option>
    <option name="count">20</option>
    <option name="displayRowNumbers">false</option></event>
</row>

View solution in original post

melonman
Motivator

input tyoe="time" でタイムレンジピッカーを設定しているところで、"tyoe" を "type" にして、bananaman さんの内容を確認してみてくださいな。

0 Karma

bananaman
Path Finder

XML全体はどのような構成でしょうか?

fieldset等 自体の構文は問題ないと思いますが、以下のような全体の構文にて確認する必要があります。

結果を表示する event等を含め、form を閉じる必要があるかと思われます。

以下のようなサンプルは近いイメージでしょうか?

下記コードのような構文では同様のエラーは発生しないようです。

<?xml version='1.0' encoding='utf-8'?>




Last 24 hours

<row>
<event>
<title>Event view</title>
<searchString>index=_internal </searchString>
    <option name="showPager">true</option>
    <option name="count">20</option>
    <option name="displayRowNumbers">false</option></event>
</row>

appleman
Contributor

私の構文もほぼ同じようなものなのですが、いまだになぜかエラーがでて、timerange picker以下のパネルが表示されません。。。。。
部分を取り除いても同じエラーはでております。

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...