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!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...