Dashboards & Visualizations

ダッシュボードにて、ドロップダウンから任意のレポートを選び表示する方法

qtaro
New Member

ダッシュボードの編集より。。。

  1. 入力の追加からドロップダウンを選択
  2. 静的オプションから複数のレポート名を列記
  3. 選択したレポート名の検索結果をパネルに表示

この3のやり方が分からないので、可能であれば方法を教えてください。

0 Karma
1 Solution

HiroshiSatoh
Champion

以下のようにドロップダウンのvalueにレポート名を入れてサーチの refにトークンを設定すればできるようです。設定はソース(XML)を直接修正してください。

<form>
  <label>test</label>
  <fieldset submitButton="false">
    <input type="dropdown" token="field1">
      <label>field1</label>
      <choice value="Alert_License">レポート1</choice>
      <choice value="Errors in the last 24 hours">レポート2</choice>
    </input>
  </fieldset>
  <row>
    <panel>
      <table>
        <title>レポート</title>
        <search ref="$field1$"></search>
        <option name="drilldown">none</option>
      </table>
    </panel>
  </row>
</form>

View solution in original post

HiroshiSatoh
Champion

以下のようにドロップダウンのvalueにレポート名を入れてサーチの refにトークンを設定すればできるようです。設定はソース(XML)を直接修正してください。

<form>
  <label>test</label>
  <fieldset submitButton="false">
    <input type="dropdown" token="field1">
      <label>field1</label>
      <choice value="Alert_License">レポート1</choice>
      <choice value="Errors in the last 24 hours">レポート2</choice>
    </input>
  </fieldset>
  <row>
    <panel>
      <table>
        <title>レポート</title>
        <search ref="$field1$"></search>
        <option name="drilldown">none</option>
      </table>
    </panel>
  </row>
</form>

qtaro
New Member

上記方法で解決しました。

ありがとうございました。

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, ...